void Update() { musicmanager.changevolume(volumeslider.value); }
void Start() { soundlevel = GameObject.FindObjectOfType <MusicMnanager>(); sound = playerprefsmngr.GetMasterVolume(); soundlevel.changevolume(sound); }