| | |
| | | |
| | | { |
| | | const string QUALITY_LEVEL_KEY = "GameQualityLevel"; |
| | | const string SOUND_VOLUME_KEY = "SoundRatioKey"; //音乐 |
| | | const string SOUND_EFFECT_KEY = "SoundEffect"; //音效 |
| | | const string SOUND_VOLUME_KEY = "MusicKey"; //音乐 |
| | | const string SOUND_EFFECT_KEY = "SoundEffectKey"; //音效 |
| | | const string GAMEFRAME_KEY = "GameFrameSetting";//垂直同步率 |
| | | |
| | | public Dictionary<SystemSwitch, bool> systemSettings = new Dictionary<SystemSwitch, bool>(); |
| | |
| | | |
| | | public float GetSoundVolume() |
| | | { |
| | | return LocalSave.GetFloat(SOUND_VOLUME_KEY, 1.0f); |
| | | return LocalSave.GetFloat(SOUND_VOLUME_KEY, 0.3f); |
| | | } |
| | | |
| | | public void SetSoundEffect(float value) |
| | |
| | | |
| | | public float GetSoundEffect() |
| | | { |
| | | return LocalSave.GetFloat(SOUND_EFFECT_KEY, 1.0f); |
| | | return LocalSave.GetFloat(SOUND_EFFECT_KEY, 0.6f); |
| | | } |
| | | |
| | | public void SetGameFps(GameFps _frame) |