public void SetDefaults() { volumeSlider.value = PlayerPrefsController.GetDefaultVolume(); difficultySlider.value = PlayerPrefsController.GetDefaultDifficulty(); }
public void ResetToDefaults() { volumeOption.GetComponent <Slider>().value = playerPrefController.GetDefaultVolume(); difficultyOption.GetComponent <Slider>().value = playerPrefController.GetDefaultDifficulty(); }