Example #1
0
 void Update()
 {
     if (audio != null)
     {
         audio.volume = PlayerPrefsManager1.GetMasterVoiceVolume();
     }
 }
Example #2
0
 void Start()
 {
     backgroundSlider.value = PlayerPrefsManager1.GetMasterBackgroundVolume();
     voiceSlider.value      = PlayerPrefsManager1.GetMasterVoiceVolume();
 }