Exemplo n.º 1
0
 private void OnDestroy()
 {
     playerDeathEvent.Unregister(this);
     pointsController.onPointsUpdated -= CheckPointsCount;
 }
Exemplo n.º 2
0
 private void OnDestroy()
 {
     healthEvent.Unregister(this);
 }