From b4f99f038d5570cbc21941455e93f68d219a075c Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期三, 26 十一月 2025 17:09:13 +0800
Subject: [PATCH] 0312 增加部分基础音效 音乐
---
Main/System/SystemSetting/SystemSetting.cs | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Main/System/SystemSetting/SystemSetting.cs b/Main/System/SystemSetting/SystemSetting.cs
index 077b8d4..d7dbdb2 100644
--- a/Main/System/SystemSetting/SystemSetting.cs
+++ b/Main/System/SystemSetting/SystemSetting.cs
@@ -11,8 +11,8 @@
{
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>();
@@ -42,7 +42,7 @@
public float GetSoundVolume()
{
- return LocalSave.GetFloat(SOUND_VOLUME_KEY, 1.0f);
+ return LocalSave.GetFloat(SOUND_VOLUME_KEY, 0.3f);
}
public void SetSoundEffect(float value)
@@ -52,7 +52,7 @@
public float GetSoundEffect()
{
- return LocalSave.GetFloat(SOUND_EFFECT_KEY, 1.0f);
+ return LocalSave.GetFloat(SOUND_EFFECT_KEY, 0.6f);
}
public void SetGameFps(GameFps _frame)
--
Gitblit v1.8.0