Exemple #1
0
 // Use this for initialization
 void Start()
 {
     // Disable all but main menu panel. Makes scene starting panel not reliant on scene settings
     DisableAllPanels();
     MainUIPanel.SetActive(true);
     SaveAndSettingsHelper.ApplyGameSettings();
     //gameObject.GetComponent<TooltipDisplayController>().AttachTooltipToObject(gameObject, "Main");
 }
 /// <summary>
 /// Attached to Save settings button
 /// </summary>
 public void SaveGameSettings()
 {
     SaveAndSettingsHelper.SaveSettingsFromOptionsMenu();
     mmusGameManagerScript.HotKeyManager.LoadHotkeyProfile();
     InputScript.RefreshHotkeyProfile();
     mmusMenuPanelController.SetButtonText();
     SaveAndSettingsHelper.ApplyGameSettings();
     mmusGameManagerScript.ReturnToPauseMenu();
 }
Exemple #3
0
 /// <summary>
 /// Method attached to save settins button
 /// </summary>
 public void SaveSettings()
 {
     SaveAndSettingsHelper.SaveSettingsFromOptionsMenu();
     SaveAndSettingsHelper.ApplyGameSettings();
 }