public void OnHit() { SaveManager.OnDefeated(); Animator.SetTrigger("Defeated"); AudioSource.clip = Defeat; AudioSource.Play(); }