Beispiel #1
0
 public override void Death()
 {
     AudioSystem.PlayDeathSound();
     if (AudioSystem.hasDeathSound && !AudioSystem.IsPlayingDeathSound())
     {
         gameObject.SetActive(false);
     }
 }