void VolumeSlider_TargetProportionChanged(object sender, ProportionEventArgs e) { players.EachPlayer(p => p.AudioVolume = e.Proportion); players.EachPlayer(p => { if (p.Mute) { p.Mute = false; } }); UpdateSoundButtonState(); }
void ScrollSlider_TargetProportionChanged(object sender, ProportionEventArgs e) { var prop = e.Proportion; SetScroll(prop); }
void TimeSlider_TargetProportionChanged(object sender, ProportionEventArgs e) { players.EachPlayer(p => p.SeekTo(e.Proportion)); }