Beispiel #1
0
 public void SetVolume()
 {
     ControlBindingContainer.GetInstance().musicVolume = musicSlider.value;
     ControlBindingContainer.SaveInstance();
     lobbyMusicBehavior.LoadVolume();
     if (musicManager != null)
     {
         musicManager.ResetMusicVolume();
     }
 }
Beispiel #2
0
 public void SetVolume()
 {
     ControlBindingContainer.GetInstance().musicVolume = musicSlider.value;
     ControlBindingContainer.SaveInstance();
     lobbyMusicBehavior.LoadVolume();
 }