Esempio n. 1
0
 void Die()
 {
     animator.SetBool("IsHit", false);
     animator.SetBool("IsAttack", false);
     animator.SetBool("IsJumping", false);
     animator.SetBool("IsShooting", false);
     animator.SetBool("IsCrouching", false);
     animator.SetBool("IsDead", true);
     UI.SetActive(false);
     pm.ZeroVelocity();
 }