Exemple #1
0
 // Animation event
 public void Skill2End()
 {
     playerScill2Collider.SetActive(false);
     rb.constraints = RigidbodyConstraints2D.FreezeRotation;
     mover.CancelMove();
     if (!jump.isGrounded)
     {
         unit.Fell();
         return;
     }
     unit.DisableState();
 }