void Start()
 {
     pPms = preferenceManager.GetComponent <playerPreferenceManagerScript> ();
     musicSlider.GetComponent <Slider> ().value = pPms.getMusicSensitivity();
     SetvolumeOfAudioSources(pPms.getMusicSensitivity());
 }
 void Awake()
 {
     pPms = playerPreference.GetComponent <playerPreferenceManagerScript> ();
     GetComponent <AudioSource> ().volume = pPms.getMusicSensitivity();
 }