예제 #1
0
 void Start()
 {
     if (_target != null)
     {
         _targetBasis = _target.GetComponent <FlowAIHolder>().flowAI;
     }
 }
예제 #2
0
 void OnValidate()
 {
     if (_target != null)
     {
         _targetBasis = _target.GetComponent <FlowAIHolder>().flowAI;
     }
     else
     {
         _targetBasis = null;
     }
 }