修复Bug
This commit is contained in:
parent
2901466d10
commit
781a3538a0
@ -39,14 +39,14 @@ namespace GameLogic
|
|||||||
}
|
}
|
||||||
private void OnSlider_GameSoundChange(float value)
|
private void OnSlider_GameSoundChange(float value)
|
||||||
{
|
{
|
||||||
GameModule.Audio.UISoundVolume = 0.7f;
|
GameModule.Audio.UISoundVolume = value;
|
||||||
m_slider_GameSound.value = 1;
|
//m_slider_GameSound.value = 1;
|
||||||
GameModule.Setting.SetFloat("UISoundVolume", value);
|
GameModule.Setting.SetFloat("UISoundVolume", value);
|
||||||
}
|
}
|
||||||
private void OnSlider_BgmSoundChange(float value)
|
private void OnSlider_BgmSoundChange(float value)
|
||||||
{
|
{
|
||||||
GameModule.Audio.MusicVolume = value;
|
GameModule.Audio.MusicVolume = value;
|
||||||
m_slider_BgmSound.value = value;
|
//m_slider_BgmSound.value = value;
|
||||||
GameModule.Setting.SetFloat("MusicVolume", value);
|
GameModule.Setting.SetFloat("MusicVolume", value);
|
||||||
}
|
}
|
||||||
private void OnToggle_GiftEffectChange(bool isOn)
|
private void OnToggle_GiftEffectChange(bool isOn)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user