public void GetInstances() { musicToggle.isOn = PlayerPrefsController.GetMasterMusicBool(); effectToggle.isOn = PlayerPrefsController.GetMasterEffectBool(); difficultySlider.value = PlayerPrefsController.GetDifficulty(); }