public void SetParentAgent(AIAgent agent) { this.agent = agent; }
// TODO states and update frequency (turn on/off etc) public void Awake() { agent = GetComponentInParent <AIAgent>(); }
public AIExecutor(AIAgent agent) { this.agent = agent; stateMachine = new AIStateMachine(agent); }
public AIStateMachine(AIAgent agent) { this.agent = agent; stateQueue = new Queue <AIMachineState>(); SetIdleState(); }