Пример #1
0
 public void ToCombat()
 {
     player.InputTransitionCheck();
     player.camState.TargetCamStats = player.camDefault;
     player.anim.SetBool("Sprint", false);
     player.currentState = player.combatState;
 }
Пример #2
0
 public void ToGround()
 {
     player.InputTransitionCheck();
     player.camState.TargetCamStats = player.camGround;
     player.currentState            = player.groundedState;
     //player.StartCoroutine(TransitionTo()); Coroutine implementation
 }
Пример #3
0
 public void ToCombat()
 {
     player.InputTransitionCheck();
     player.currentState = player.combatState;
 }