コード例 #1
0
 private bool LoadSoundEffectStatus()
 {
     return(PlayerPrefsUtil.HasKey(PlayerPrefsKey.SoundFxMuteKey)
         ? IntToBool(PlayerPrefsUtil.GetIntSimple(PlayerPrefsKey.SoundFxMuteKey))
         : soundEffectOn);
 }
コード例 #2
0
 private bool LoadBackgroundStatus()
 {
     return(PlayerPrefsUtil.HasKey(PlayerPrefsKey.BgMusicMuteKey)
         ? IntToBool(PlayerPrefsUtil.GetIntSimple(PlayerPrefsKey.BgMusicMuteKey))
         : musicOn);
 }