Arbor 3: FSM & BT Graph Editor  3.1.3
ClassTypeConstraintAttribute Class Referenceabstract

A basic Attribute class that imposes a type constraint on a field of type ClassTypeReference. More...

Inheritance diagram for ClassTypeConstraintAttribute:
ClassComponentAttribute ClassExtendsAttribute ClassScriptableObjectAttribute ClassUnityObjectAttribute

Public Member Functions

abstract bool IsConstraintSatisfied (Type type)
 Whether the constraint is satisfied is judged. More...
 

Detailed Description

A basic Attribute class that imposes a type constraint on a field of type ClassTypeReference.

Member Function Documentation

abstract bool IsConstraintSatisfied ( Type  type)
pure virtual

Whether the constraint is satisfied is judged.

Parameters
typeDetermining type
Returns
Returns true if the constraint is satisfied.

Implemented in ClassScriptableObjectAttribute, ClassComponentAttribute, ClassUnityObjectAttribute, and ClassExtendsAttribute.