void Start() { if (_target != null) { _targetBasis = _target.GetComponent <FlowAIHolder>().flowAI; } }
void OnValidate() { if (_target != null) { _targetBasis = _target.GetComponent <FlowAIHolder>().flowAI; } else { _targetBasis = null; } }