From 04ffe31b6a2b2fbcfecc83abb44a8aa233f2e53f Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期一, 02 二月 2026 18:45:57 +0800
Subject: [PATCH] 54 【淘金】切后台淘金完成 时间显示负数

---
 Main/System/SystemSetting/SystemSetting.cs |   34 +++++++++++++++++-----------------
 1 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/Main/System/SystemSetting/SystemSetting.cs b/Main/System/SystemSetting/SystemSetting.cs
index eada92d..b38d9fa 100644
--- a/Main/System/SystemSetting/SystemSetting.cs
+++ b/Main/System/SystemSetting/SystemSetting.cs
@@ -3,7 +3,6 @@
 using UnityEngine;
 using UnityEngine.Events;
 using System;
-using vnxbqy.UI;
 using System.Collections;
 using Cysharp.Threading.Tasks;
 
@@ -12,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>();
@@ -27,6 +26,7 @@
 
     public SystemSetting()
     {
+        DTC0102_tagCDBPlayer.switchAccountEvent -= OnSwitchAccount;
         DTC0102_tagCDBPlayer.switchAccountEvent += OnSwitchAccount;
     }
 
@@ -43,7 +43,7 @@
 
     public float GetSoundVolume()
     {
-        return LocalSave.GetFloat(SOUND_VOLUME_KEY, .55f);
+        return LocalSave.GetFloat(SOUND_VOLUME_KEY, 0.3f);
     }
 
     public void SetSoundEffect(float value)
@@ -53,7 +53,7 @@
 
     public float GetSoundEffect()
     {
-        return LocalSave.GetFloat(SOUND_EFFECT_KEY, .8f);
+        return LocalSave.GetFloat(SOUND_EFFECT_KEY, 0.6f);
     }
 
     public void SetGameFps(GameFps _frame)
@@ -163,18 +163,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)
         {
@@ -219,7 +219,7 @@
 
     public void LetFPSUnLimit()
     {
-        Application.targetFrameRate = 1000;
+        // Application.targetFrameRate = 1000;
     }
 
     private void OnSwitchAccount()

--
Gitblit v1.8.0