public void UIVolumeSetToMin(SliderBarSetToMinValueEvent e, UIVolumeSliderBarNode uiVolumeSliderBarNode, [JoinAll] SoundListenerNode listener) { this.SetSoundVolume(SoundType.UI, listener.soundListenerResources.Resources.UIMixer, uiVolumeSliderBarNode.sliderBar.Value, true); this.SetSoundVolume(SoundType.UI, SoundSettingsUtils.LAZY_UI_VOLUME_PARAM_KEY, listener.soundListenerResources.Resources.MusicMixer, uiVolumeSliderBarNode.sliderBar.Value, true); }
public void MusicVolumeSetToMin(SliderBarSetToMinValueEvent e, MusicVolumeSliderBarNode musicVolumeSliderBarNode, [JoinAll] SoundListenerNode listener) { this.SetSoundVolume(SoundType.Music, SoundSettingsUtils.MUSIC_VOLUME_PARAM_KEY, listener.soundListenerResources.Resources.MusicMixer, musicVolumeSliderBarNode.sliderBar.Value, true); }
public void SFXVolumeSetToMin(SliderBarSetToMinValueEvent e, SFXVolumeSliderBarNode sfxVolumeSliderBarNode, [JoinAll] SoundListenerNode listener) { this.SetSoundVolume(SoundType.SFX, listener.soundListenerResources.Resources.SfxMixer, sfxVolumeSliderBarNode.sliderBar.Value, true); }
public void OnMinMouseSensivitySliderBar(SliderBarSetToMinValueEvent e, MouseSensivitySliderBarNode mouseSensivitySliderBar, [JoinAll] SingleNode <GameMouseSettingsComponent> settings) { settings.component.MouseSensivity = mouseSensivitySliderBar.sliderBar.Value; base.ScheduleEvent(new SettingsChangedEvent <GameMouseSettingsComponent>(settings.component), settings); }