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 | 33 ++++++++++++++++-----------------
1 files changed, 16 insertions(+), 17 deletions(-)
diff --git a/Main/System/SystemSetting/SystemSetting.cs b/Main/System/SystemSetting/SystemSetting.cs
index eada92d..d7dbdb2 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>();
@@ -43,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)
@@ -53,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)
@@ -163,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)
{
@@ -219,7 +218,7 @@
public void LetFPSUnLimit()
{
- Application.targetFrameRate = 1000;
+ // Application.targetFrameRate = 1000;
}
private void OnSwitchAccount()
--
Gitblit v1.8.0