private void OnDestroy() { SignalMachine.RemoveListener <DeathSignal>(OnDeath); SignalMachine.RemoveListener <NewScoreSignal>(OnScoreChange); SignalMachine.RemoveListener <NewLeaderboardScoreSignal>(OnHighScore); }
private void OnDestroy() { SignalMachine.RemoveListener <NewBombCountSignal>(OnBombCount); SignalMachine.RemoveListener <NewScoreSignal>(OnScore); }