void OnDestroy() { DeathEvent.UnregisterListener(OnDeath); }
// Start is called before the first frame update void Start() { DeathEvent.RegisterListener(OnDeath); }