public void openOptions() { options.SetActive(true); options.GetComponent <OptionController>().loadSettingsUI(); cancel(); UtilBools.pausedBools(Game.current, true); UtilBools.paused = false; UtilBools.options = true; }
public void justExit() { openAll(); closeAll(); UtilBools.worldOptions = false; UtilBools.pausedBools(Game.current, false); gameObject.SetActive(false); }
//unused public void saveExit() { openAll(); //Saving miscCon.saveSettings(); savedFeedback(); closeAll(); UtilBools.worldOptions = false; UtilBools.pausedBools(Game.current, false); gameObject.SetActive(false); }
public void openWorldOptions() { GC.audioMixer.playButtonSFX(); if (!UtilBools.isPuzzle) { worldOptions.SetActive(true); worldOptions.GetComponent <WorldOptionsController>().loadSettingsUI(); UtilBools.pausedBools(Game.current, true); UtilBools.paused = false; UtilBools.worldOptions = true; } else { print("is puzzle duh"); } }
public void openWorldOptions() { if (!UtilBools.isPuzzle) { worldOptions.SetActive(true); worldOptions.GetComponent <WorldOptionsController>().loadSettingsUI(); cancel(); UtilBools.pausedBools(Game.current, true); UtilBools.paused = false; UtilBools.worldOptions = true; } else { print("is puzzle"); } }
public void cancel() { UtilBools.pausedBools(Game.current, false); UtilBools.paused = false; pausedContainer.SetActive(false); }