Reorderable List Control for Unity
IElementAdderMenuBuilderTContextAddCustomCommand Method |
Adds a custom command to the menu.
Namespace: Rotorz.ReorderableList
Assembly: Editor.ReorderableList (in Editor.ReorderableList.dll) Version: 0.0.0.0 (0.3.0.0)
Syntax
void AddCustomCommand( IElementAdderMenuCommand<TContext> command )
function AddCustomCommand( command : IElementAdderMenuCommand<TContext> )
Parameters
- command
- Type: Rotorz.ReorderableListIElementAdderMenuCommandTContext
The custom command.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | If command is null. |
See Also