예제 #1
0
 public void SetParentAgent(AIAgent agent)
 {
     this.agent = agent;
 }
예제 #2
0
        // TODO states and update frequency (turn on/off etc)

        public void Awake()
        {
            agent = GetComponentInParent <AIAgent>();
        }
예제 #3
0
 public AIExecutor(AIAgent agent)
 {
     this.agent   = agent;
     stateMachine = new AIStateMachine(agent);
 }
예제 #4
0
 public AIStateMachine(AIAgent agent)
 {
     this.agent = agent;
     stateQueue = new Queue <AIMachineState>();
     SetIdleState();
 }