public void SetSoundEffectVolume(Slider slider) { soundEffectsManager.SetVolume(slider.value); soundEffectsManagerPrefabAudioSource.volume = slider.value; }