/// <summary> /// Start Listening to events /// </summary> private void StartAllListeners() { GJ_EventManager.StartListening(GJ_EventSetup.Localization.TRANSLATE_TEXTS, TranslateTexts); }
/// <summary> /// Start Listening to events /// </summary> private void StartAllListeners() { GJ_EventManager.StartListening(GJ_EventSetup.Menu.GO_TO_MAIN_MENU, ShowCursor); GJ_EventManager.StartListening(GJ_EventSetup.Menu.GO_TO_GAME, HideCursor); }
/// <summary> /// Start listening needed events /// </summary> public void StartAllListeners() { GJ_EventManager.StartListening(GJ_EventSetup.SaveData.SAVE_GAME, Save); GJ_EventManager.StartListening(GJ_EventSetup.SaveData.NEW_GAME, CreateGameData); }
/// <summary> /// Start listening needed events /// </summary> public void StartAllListeners() { GJ_EventManager.StartListening(GJ_EventSetup.Game.DEAD, ShowDeadCanvasAndRespawn); GJ_EventManager.StartListening(GJ_EventSetup.Game.CAN_MOVE, CanMove); GJ_EventManager.StartListening(GJ_EventSetup.Localization.TRANSLATE_TEXTS, TranslateTexts); }
/// <summary> /// Start listening needed events /// </summary> public void StartAllListeners() { GJ_EventManager.StartListening(GJ_EventSetup.Audio.STOP_ALL_CHANNELS, StopPlayingSources); GJ_EventManager.StartListening(GJ_EventSetup.Audio.MUTE_ALL_CHANNELS, MuteAllChannels); }