void Update() { if (m_movingAgent.IsFunctional() && !m_movingAgent.isDisabled() & isInUse()) { m_currentState.updateStage(); } }
// Update is called once per frame void Update() { if (m_selfAgent.IsFunctional() && !m_selfAgent.isDisabled() && isInUse()) { m_behaviorState.updateStage(); } }