IElementAdderMenuBuilder(TContext).SetContractType Method

Rotorz ReorderableList

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.ReorderableList
Assembly: Editor.ReorderableList (in Editor.ReorderableList.dll) Version: 0.0.0.0 (0.3.0.0)
Syntax
void SetContractType(
	Type contractType
)
function SetContractType(
	contractType : Type
)

Parameters

contractType
Type: SystemType
Contract type of addable elements.
See Also