Add HasInitialized to DHO

As it turned out, `IsLoaded` is not a reliable way.
This commit is contained in:
ekrctb
2020-11-21 11:19:52 +09:00
parent 82aefa3868
commit 281ed49332
2 changed files with 24 additions and 8 deletions

View File

@ -146,6 +146,11 @@ namespace osu.Game.Rulesets.Objects.Drawables
private Container<PausableSkinnableSound> samplesContainer;
/// <summary>
/// Whether the initialization logic in <see cref="Playfield" /> has applied.
/// </summary>
internal bool HasInitialized;
/// <summary>
/// Creates a new <see cref="DrawableHitObject"/>.
/// </summary>