private void Die() { Destroy(gameObject); //GetComponent<AudioSource> ().Play (); deathSound.Play(); Debug.Log("DEATHHHHHH!!!"); playerDeathEventChannel.NotifyPlayerDeath(); }
private void Die() { playerDeathEventChannel.NotifyPlayerDeath(); Destroy(gameObject); }