Exemplo n.º 1
0
 public void SaveSoundEffectPrefs()
 {
     PlayerPrefsUtil.SetIntSimple(PlayerPrefsKey.SoundFxMuteKey, soundEffectOn?1:0);
     PlayerPrefsUtil.SetFloatSimple(PlayerPrefsKey.SoundFxVolKey, soundEffectVolume);
 }
Exemplo n.º 2
0
 public void SaveBackgroundPrefs()
 {
     PlayerPrefsUtil.SetIntSimple(PlayerPrefsKey.BgMusicMuteKey, musicOn?1:0);
     PlayerPrefsUtil.SetFloatSimple(PlayerPrefsKey.BgMusicVolKey, musicVolume);
 }