Reorderable List Control for Unity
ElementAdderMetaGetMenuCommandTypesTContext Method |
Gets an array of the IElementAdderMenuCommandTContext types
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)
Syntax
public static Type[] GetMenuCommandTypes<TContext>( Type contractType )
public static function GetMenuCommandTypes.<TContext>( contractType : Type ) : Type[]
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: TypeAn array containing zero or more Type.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | If contractType is null. |
See Also