/// <summary> /// Stop Listening to events /// </summary> private void StopAllListeners() { GJ_EventManager.StopListening(GJ_EventSetup.Localization.TRANSLATE_TEXTS, TranslateTexts); }
/// <summary> /// Stop Listening to events /// </summary> private void StopAllListeners() { GJ_EventManager.StopListening(GJ_EventSetup.Menu.GO_TO_MAIN_MENU, ShowCursor); GJ_EventManager.StopListening(GJ_EventSetup.Menu.GO_TO_GAME, HideCursor); }
/// <summary> /// Stop listening events so we avoid event leaking /// </summary> public void StopAllListeners() { GJ_EventManager.StopListening(GJ_EventSetup.SaveData.SAVE_GAME, Save); GJ_EventManager.StopListening(GJ_EventSetup.SaveData.NEW_GAME, CreateGameData); }
/// <summary> /// Stop listening events so we avoid event leaking /// </summary> public void StopAllListeners() { GJ_EventManager.StopListening(GJ_EventSetup.Game.DEAD, ShowDeadCanvasAndRespawn); GJ_EventManager.StopListening(GJ_EventSetup.Game.CAN_MOVE, CanMove); GJ_EventManager.StopListening(GJ_EventSetup.Localization.TRANSLATE_TEXTS, TranslateTexts); }
/// <summary> /// Stop listening events so we avoid event leaking /// </summary> public void StopAllListeners() { GJ_EventManager.StopListening(GJ_EventSetup.Audio.STOP_ALL_CHANNELS, StopPlayingSources); GJ_EventManager.StopListening(GJ_EventSetup.Audio.MUTE_ALL_CHANNELS, MuteAllChannels); }