private void OnDestroy() { playerDeathEvent.Unregister(this); pointsController.onPointsUpdated -= CheckPointsCount; }
private void OnDestroy() { healthEvent.Unregister(this); }