Merge remote-tracking branch 'upstream/master' into user-status-wiring

This commit is contained in:
Lucas A
2019-05-07 18:27:14 +02:00
224 changed files with 772 additions and 35 deletions

View File

@ -83,6 +83,8 @@ namespace osu.Game.Screens
private SampleChannel sampleExit;
protected virtual bool PlayResumeSound => true;
public virtual float BackgroundParallaxAmount => 1;
public Bindable<WorkingBeatmap> Beatmap { get; private set; }
@ -146,7 +148,8 @@ namespace osu.Game.Screens
public override void OnResuming(IScreen last)
{
sampleExit?.Play();
if (PlayResumeSound)
sampleExit?.Play();
applyArrivingDefaults(true);
setUserActivity(activity);