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