mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 08:49:59 +09:00
Make CreateContent a method again
This commit is contained in:
@ -99,13 +99,15 @@ namespace osu.Game.Overlays
|
||||
}
|
||||
});
|
||||
|
||||
if (CreateContent != null)
|
||||
flow.Add(CreateContent);
|
||||
var content = CreateContent();
|
||||
|
||||
if (content != null)
|
||||
flow.Add(content);
|
||||
}
|
||||
|
||||
protected abstract Drawable CreateBackground();
|
||||
|
||||
protected virtual Drawable CreateContent => null;
|
||||
protected virtual Drawable CreateContent() => null;
|
||||
|
||||
protected abstract ScreenTitle CreateTitle();
|
||||
}
|
||||
|
Reference in New Issue
Block a user