Tanoda
|
Base class for class selection constraints that can be applied when selecting a ClassTypeReference with the Unity inspector. More...
Public Member Functions | |
virtual bool | IsConstraintSatisfied (Type type) |
Determines whether the specified Type satisfies filter constraint. More... | |
Properties | |
ClassGrouping | Grouping [get, set] |
Gets or sets grouping of selectable classes. Defaults to ClassGrouping.ByNamespaceFlat unless explicitly specified. More... | |
bool | AllowAbstract [get, set] |
Gets or sets whether abstract classes can be selected from drop-down. Defaults to a value of false unless explicitly specified. More... | |
Base class for class selection constraints that can be applied when selecting a ClassTypeReference with the Unity inspector.
Definition at line 37 of file ClassTypeConstraintAttribute.cs.
|
virtual |
Determines whether the specified Type satisfies filter constraint.
type | Type to test. |
Reimplemented in TypeReferences.ClassExtendsAttribute, and TypeReferences.ClassImplementsAttribute.
Definition at line 68 of file ClassTypeConstraintAttribute.cs.
|
getset |
Gets or sets whether abstract classes can be selected from drop-down. Defaults to a value of false
unless explicitly specified.
Definition at line 55 of file ClassTypeConstraintAttribute.cs.
|
getset |
Gets or sets grouping of selectable classes. Defaults to ClassGrouping.ByNamespaceFlat unless explicitly specified.
Definition at line 46 of file ClassTypeConstraintAttribute.cs.