mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Use hit object pooling for JuiceStream
.
- Use `Clear(false)` to not dispose pooled children. - Don't set nested DHO `Origin`. - Simplify the layout (remove custom `Origin`).
This commit is contained in:
@ -64,6 +64,7 @@ namespace osu.Game.Rulesets.Catch.UI
|
||||
RegisterPool<TinyDroplet, DrawableTinyDroplet>(1);
|
||||
RegisterPool<Fruit, DrawableFruit>(1);
|
||||
RegisterPool<Banana, DrawableBanana>(1);
|
||||
RegisterPool<JuiceStream, DrawableJuiceStream>(1);
|
||||
}
|
||||
|
||||
protected override void LoadComplete()
|
||||
|
Reference in New Issue
Block a user