public void OnChangeSoundSlider() { if (slider_bgm != null && slider_sfx != null) { GameConfigs.SetVolume(slider_bgm.value, slider_sfx.value); } }