IElementAdderMenuBuilderTContextSetContractType Method |
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.
Namespace: Rotorz.ReorderableListAssembly: Editor.ReorderableList (in Editor.ReorderableList.dll) Version: 0.0.0.0 (0.3.0.0)
Syntaxvoid SetContractType(
Type contractType
)
function SetContractType(
contractType : Type
)
Parameters
- contractType
- Type: SystemType
Contract type of addable elements.
See Also