Arbor 3: FSM & BT Graph Editor
3.6.4
|
A basic Attribute class that imposes a type constraint on a field. More...
Public Member Functions | |
virtual Type | GetBaseType (FieldInfo fieldInfo) |
It returns the base type of constraints. More... | |
virtual string | GetTypeName (FieldInfo fieldInfo) |
Returns the type name of the constraint. More... | |
abstract bool | IsConstraintSatisfied (Type type, FieldInfo fieldInfo) |
Whether the constraint is satisfied is judged. More... | |
A basic Attribute class that imposes a type constraint on a field.
Available classes :
|
virtual |
It returns the base type of constraints.
fieldInfo | FieldInfo with this attribute specified |
Reimplemented in ClassGenericArgumentAttribute, ClassScriptableObjectAttribute, ClassComponentAttribute, ClassUnityObjectAttribute, and ClassExtendsAttribute.
|
virtual |
Returns the type name of the constraint.
fieldInfo | FieldInfo with this attribute specified |
Reimplemented in ClassEnumFlagsConstraint, and ClassEnumFieldConstraint.
|
pure virtual |
Whether the constraint is satisfied is judged.
type | Determining type |
fieldInfo | FieldInfo with this attribute specified |
Implemented in ClassEnumFlagsConstraint, ClassEnumFieldConstraint, ClassGenericArgumentAttribute, ClassScriptableObjectAttribute, ClassComponentAttribute, ClassUnityObjectAttribute, and ClassExtendsAttribute.