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


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