void Start() { //Overlay.Watch(() => Agent.Target, "Target", this); StratusGUI.Watch(() => Agent.currentState, "Behavior", this); }
//------------------------------------------------------------------------/ // Messages //------------------------------------------------------------------------/ void Start() { agent = GetComponent <StratusAgent>(); navigation = GetComponent <NavMeshAgent>(); StratusGUI.Watch(() => agent.currentState, "Behavior", this); }