Ejemplo n.º 1
0
        override public void OnFixedUpdate()
        {
            if (activeState == null)
            {
                throw new System.Exception("The FSM has not been initialised yet! "
                                           + "Call fsm.SetStartState(...) and fsm.OnEnter() to initialise");
            }

            activeState.OnFixedUpdate();
        }