private void Start() { _patrol = GetComponent <AIPatrolController>(); _move = GetComponent <AIMoveToController>(); //_vision = new AIVisionController(transform); _stateMachine = new AIStateMachine(this); SetVisionLayerMask(); InitSMStates(); }
private void Start() { _moveTo = GetComponent <AIMoveToController>(); }