Ejemplo n.º 1
0
 void OnDisable()
 {
     UnityEventManager.StopListeningInt("Score", AddPoints);
     UnityEventManager.StopListening("NewWave", AddWave);
 }
Ejemplo n.º 2
0
 void OnDisable()
 {
     UnityEventManager.StopListening("StartGame", StartGame);
 }
Ejemplo n.º 3
0
 void OnDisable()
 {
     SceneManager.sceneLoaded -= OnSceneLoaded;
     UnityEventManager.StopListeningInt("MoMDeath", IsGameOver);
     UnityEventManager.StopListening("StartGame", StartNewGame);
 }