Wanzyee Studio

Utility to place and display objects for temporary work. More...

Inherits EditorWindow, and IHasCustomMenu.

Public Member Functions

void AddItemsToMenu (GenericMenu menu)
 Add the window context menu items. More...
 

Static Public Member Functions

static void OpenWindow ()
 Open the window. More...
 
static void SelectNone ()
 Select none, hotkey "Ctrl-Alt-A". More...
 
static ObjectSelector Open (params Object[] items)
 Show the specified content in the first unlocked window, open new if not found. More...
 
static ObjectSelector Open (string memo, Object main, params Object[] items)
 Show the specified content in the first unlocked window, open new if not found. More...
 

Public Attributes

bool locked
 Prevent content overwritten from later operations. More...
 
string memo = ""
 Memo of this, first line as the title. More...
 
Object main
 Main object. More...
 
Object[] items = {}
 Item objects. More...
 

Detailed Description

Utility to place and display objects for temporary work.

Useful to step by step manage objects, e.g., find, filter, classify, review, arrange, assign, edit, and etc. Just like a visible temporary selection list.

To open:

  1. Menu "Edit/Selection/Object Selector" or hotkey "Ctrl-Alt-S" to open with the current selection.
  2. By default, this overwrite the first unlocked window, or open new if not found.
  3. Context menu "New Window" to open new with the selection.
  4. Context menu "Duplicate Window" to open new with the same content.

The window:

  1. The top-right "Lock" icon to switch preventing content overwritten from the operations above.
  2. Write the memo in need, the first line becomes the window title for identifying.
  3. Drag'n'Drop into the lower part of the window to append items.

The list:

  1. Click the "Pencil" icon to arrange the list, e.g., sorting or clearing up.
  2. Click the "Finger" icon to select all or the current item, or directly drag it to assign to somewhere.
  3. Press "Ctrl" and click the object field to open an auxiliary Inspector for quick view.

Member Function Documentation

static void OpenWindow ( )
static

Open the window.

static void SelectNone ( )
static

Select none, hotkey "Ctrl-Alt-A".

static ObjectSelector Open ( params Object[]  items)
static

Show the specified content in the first unlocked window, open new if not found.

Parameters
itemsItem objects.
Returns
The window.
static ObjectSelector Open ( string  memo,
Object  main,
params Object[]  items 
)
static

Show the specified content in the first unlocked window, open new if not found.

Parameters
memoMemo of the collection.
mainMain object.
itemsItem objects.
Returns
The window.
void AddItemsToMenu ( GenericMenu  menu)

Add the window context menu items.

Menu "About" to open the online manual. Menu "New Window" to open another ObjectSelector window with the current selection. Menu "Duplicate Window" to open a new one with the same content.

Parameters
menuMenu.

Member Data Documentation

bool locked

Prevent content overwritten from later operations.

string memo = ""

Memo of this, first line as the title.

Object main

Main object.

Object [] items = {}

Item objects.