Arbor 3: FSM & BT Graph Editor  3.1.1
ClassComponentAttribute Class Reference

Attribute to restrict to classes inherited from UnityEngine.Component for fields of type ClassTypeReference. More...

Inheritance diagram for ClassComponentAttribute:
ClassTypeConstraintAttribute

Public Member Functions

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

Detailed Description

Attribute to restrict to classes inherited from UnityEngine.Component for fields of type ClassTypeReference.

Except for classes inherited from NodeBehaviour.

Member Function Documentation

override bool IsConstraintSatisfied ( Type  type)
virtual

Whether the constraint is satisfied is judged.

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

Implements ClassTypeConstraintAttribute.