Reorderable List Control for Unity
IElementAdderMenuBuilderTContext Methods |
The IElementAdderMenuBuilderTContext generic type exposes the following members.
Methods
Name | Description | |
---|---|---|
AddCustomCommand |
Adds a custom command to the menu.
|
|
AddTypeFilter |
Adds a filter function which determines whether types can be included or
whether they need to be excluded.
|
|
GetMenu |
Builds and returns a new IElementAdderMenu instance.
|
|
SetContractType |
Sets contract type of the elements that can be included in the IElementAdderMenu.
Only non-abstract class types that are assignable from the contractType
will be included in the built menu.
|
|
SetElementAdder |
Set the IElementAdderTContext implementation which is used
when adding new elements to the context object.
|
|
SetTypeDisplayNameFormatter |
Set the function that formats the display of type names in the user interface.
|
See Also