private void ResetParameters() { sfxVolumeSlider.value = settings.GetSFXVolume(); musicVolumeSlider.value = settings.GetMusicVolume(); gameSpeedSlider.value = settings.GetGameSpeed(); musicVolumeSlider.onValueChanged.AddListener(PlaySampleMusic); }