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