修复Bug

This commit is contained in:
DESKTOP-SAJ6RKV\Administrator 2025-05-19 18:18:42 +08:00
parent 2901466d10
commit 781a3538a0

View File

@ -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)