Add OnBackButton bool to OsuScreen

This commit is contained in:
Joehu
2020-07-13 23:59:20 -07:00
parent e0d9e70404
commit 1a2f5cb477
3 changed files with 7 additions and 1 deletions

View File

@ -258,5 +258,7 @@ namespace osu.Game.Screens
/// Note that the instance created may not be the used instance if it matches the BackgroundMode equality clause.
/// </summary>
protected virtual BackgroundScreen CreateBackground() => null;
public virtual bool OnBackButton() => false;
}
}