Esempio n. 1
0
 public void Changes_Made()
 {
     if (setUserSettings)
     {
         return;
     }
     confirmButton.gameObject.SetActive(true);
     SoundRecorder.Play_Effect(GlobalVariables.CLICKEFFECT);
 }
Esempio n. 2
0
 public void Change_Volume_Settings()
 {
     if (setUserSettings)
     {
         return;
     }
     userSettings.soundSettings.effectsVolume = effectsVolumeSlider.value;
     userSettings.soundSettings.musicVolume   = musicVolumeSlider.value;
     SoundRecorder.Play_Effect(GlobalVariables.CLICKEFFECT);
 }
Esempio n. 3
0
 public void Change_Language()
 {
     if (initialise)
     {
         return;
     }
     Unmap_Dropdown_Options();
     userSettings.languagePack = languagePacks[languageDropdown.value].packName;
     Save_User_Settings();
     SoundRecorder.Play_Effect(GlobalVariables.CLICKEFFECT);
 }