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