From 781a3538a03c7885861fb9861fcb83236613c909 Mon Sep 17 00:00:00 2001 From: "DESKTOP-SAJ6RKV\\Administrator" Date: Mon, 19 May 2025 18:18:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DBug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Assets/GameScripts/HotFix/GameLogic/UI/UISettingForm.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UISettingForm.cs b/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UISettingForm.cs index b7ecf9c6..cf9d7910 100644 --- a/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UISettingForm.cs +++ b/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UISettingForm.cs @@ -39,14 +39,14 @@ namespace GameLogic } private void OnSlider_GameSoundChange(float value) { - GameModule.Audio.UISoundVolume = 0.7f; - m_slider_GameSound.value = 1; + GameModule.Audio.UISoundVolume = value; + //m_slider_GameSound.value = 1; GameModule.Setting.SetFloat("UISoundVolume", value); } private void OnSlider_BgmSoundChange(float value) { GameModule.Audio.MusicVolume = value; - m_slider_BgmSound.value = value; + //m_slider_BgmSound.value = value; GameModule.Setting.SetFloat("MusicVolume", value); } private void OnToggle_GiftEffectChange(bool isOn)