private void OnDestroy() { ActionListenerUtility.UnsubscribeActionListenersFrom(ref OnNewRoundStarted); ActionListenerUtility.UnsubscribeActionListenersFrom(ref OnNewGameStarted); ActionListenerUtility.UnsubscribeActionListenersFrom(ref OnGameOver); ActionListenerUtility.UnsubscribeActionListenersFrom(ref OnCanPlayAgain); ActionListenerUtility.UnsubscribeActionListenersFrom(ref OnShowTitleScreen); }
private void OnDestroy() { ActionListenerUtility.UnsubscribeActionListenersFrom(ref OnPlayerLivesChanged); }
private void OnDestroy() { ActionListenerUtility.UnsubscribeActionListenersFrom(ref OnScoreChanged); }
private void OnDestroy() { ActionListenerUtility.UnsubscribeActionListenersFrom(ref OnShipDisabled); }