IElementAdderMenuBuilder(TContext).AddCustomCommand Method

Rotorz ReorderableList

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
ExceptionCondition
ArgumentNullException If command is null.
See Also