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