예제 #1
0
 private void OnDestroy()
 {
     playerDeathEvent.Unregister(this);
     pointsController.onPointsUpdated -= CheckPointsCount;
 }
예제 #2
0
 private void OnDestroy()
 {
     healthEvent.Unregister(this);
 }