Пример #1
0
 private void OnDestroy()
 {
     playerDeathEvent.Unregister(this);
     pointsController.onPointsUpdated -= CheckPointsCount;
 }
Пример #2
0
 private void OnDestroy()
 {
     healthEvent.Unregister(this);
 }