Exemple #1
0
        public override void EnterState(PawnMovement machine)
        {
            PawnAI ai = machine.GetComponent <PawnAI>();

            ai.paused = true;
            machine.OnAirborn.Invoke();
        }
Exemple #2
0
        public override void ExitState(PawnMovement machine)
        {
            PawnAI ai = machine.GetComponent <PawnAI>();

            ai.paused = false;
        }