From 4debfee66e8d8aabd179e2f8a61c7ca5ce62af3d Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期三, 31 十二月 2025 15:28:37 +0800
Subject: [PATCH] 0312 修复觉醒后战力计算错误的问题
---
Main/System/SystemSetting/SystemSetting.cs | 30 +++++++++++++++---------------
1 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/Main/System/SystemSetting/SystemSetting.cs b/Main/System/SystemSetting/SystemSetting.cs
index 9bf7362..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, .55f);
+ 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, .8f);
+ return LocalSave.GetFloat(SOUND_EFFECT_KEY, 0.6f);
}
public void SetGameFps(GameFps _frame)
@@ -162,18 +162,18 @@
break;
}
-#if UNITY_ANDROID && !UNITY_EDITOR
- if (_disabeCamera)
- {
- CameraManager.uiCamera.enabled = false;
- }
+// #if !UNITY_EDITOR
+// if (_disabeCamera)
+// {
+// CameraManager.uiCamera.enabled = false;
+// }
- ResolutionUtility.AdjustResolution(_quality);
- if (_disabeCamera)
- {
- Co_WaitFewMinute();
- }
-#endif
+// ResolutionUtility.AdjustResolution(_quality);
+// if (_disabeCamera)
+// {
+// Co_WaitFewMinute();
+// }
+// #endif
if (qualityLevelChangeEvent != null)
{
--
Gitblit v1.8.0