Пример #1
0
 public void OnHit()
 {
     SaveManager.OnDefeated();
     Animator.SetTrigger("Defeated");
     AudioSource.clip = Defeat;
     AudioSource.Play();
 }