Reorderable List Control for Unity
ReorderableListControlDoCommand Method (String, 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( string commandName, int itemIndex, IReorderableListAdaptor adaptor )
public function DoCommand( commandName : String, itemIndex : int, adaptor : IReorderableListAdaptor ) : boolean
Parameters
- commandName
- Type: SystemString
Name of command. This is the text shown in the context menu. - 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.
