Ejemplo n.º 1
0
 void Start()
 {
     volumeSlider.value     = PlayPrefsController.GetMasterVolume();
     difficultySlider.value = PlayPrefsController.GetDifficulty();
 }
Ejemplo n.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     DontDestroyOnLoad(this);
     audioSource        = GetComponent <AudioSource>();
     audioSource.volume = PlayPrefsController.GetMasterVolume();
 }