Reorderable List Control for Unity
ReorderableListControlDoCommand Method (GUIContent, Int32, IReorderableListAdaptor) |
Call to manually perform command.
Namespace: Rotorz.ReorderableList
Assembly: Editor.ReorderableList (in Editor.ReorderableList.dll) Version: 0.0.0.0 (0.3.0.0)

public bool DoCommand( GUIContent command, int itemIndex, IReorderableListAdaptor adaptor )
public function DoCommand( command : GUIContent, itemIndex : int, adaptor : IReorderableListAdaptor ) : boolean
Parameters
- command
- Type: GUIContent
Content representing command. - itemIndex
- Type: SystemInt32
Zero-based index of item which was right-clicked. - adaptor
- Type: Rotorz.ReorderableListIReorderableListAdaptor
Reorderable list adaptor.
Return Value
Type: BooleanA value of true if command was known; otherwise false.

Warning message is logged to console if attempted to execute unknown command.
