Reorderable List Control for Unity
ElementAdderMetaGetMenuCommandsTContext Method |
Gets an array of IElementAdderMenuCommandTContext instances
that are associated with the specified contractType.
Namespace: Rotorz.ReorderableList
Assembly: Editor.ReorderableList (in Editor.ReorderableList.dll) Version: 0.0.0.0 (0.3.0.0)

public static IElementAdderMenuCommand<TContext>[] GetMenuCommands<TContext>( Type contractType )
public static function GetMenuCommands.<TContext>( contractType : Type ) : IElementAdderMenuCommand<TContext>[]
Parameters
- contractType
- Type: SystemType
Contract type of addable elements.
Type Parameters
- TContext
- Type of the context object that elements can be added to.
Return Value
Type: IElementAdderMenuCommandTContextAn array containing zero or more IElementAdderMenuCommandTContext instances.

Exception | Condition |
---|---|
ArgumentNullException | If contractType is null. |
