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


            SetVisionLayerMask();
            InitSMStates();
        }
Exemple #2
0
 private void Start()
 {
     _moveTo = GetComponent <AIMoveToController>();
 }