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