private void Start()
 {
     musicManager = FindObjectOfType<MusicManager>();
     musicManager.SetVolume(PlayerPreferenceManager.GetMasterVolume());
 }
 private void Start()
 {
     musicManager           = FindObjectOfType <MusicManager>();
     volumeSlider.value     = PlayerPreferenceManager.GetMasterVolume();
     difficultySlider.value = PlayerPreferenceManager.GetDifficulty();
 }