Example #1
0
 public DamageState(Player player)
     : base(player)
 {
     damegeSeconds = player.animator.GetCurrentAnimatorStateInfo(0).length;
     player.StartCoroutine(MoveCoroutine());
     player.jumpVY = 0.0f;
 }