mirror of
https://github.com/ppy/osu.git
synced 2025-01-19 12:22:57 +08:00
Simplify catcher trail creation
This commit is contained in:
parent
9b6ab4360e
commit
c094914023
@ -121,10 +121,7 @@ namespace osu.Game.Rulesets.Catch.UI
|
||||
CatcherTrailSprite sprite = trailPool.Get();
|
||||
|
||||
sprite.AnimationState = catcher.CurrentState;
|
||||
sprite.Origin = catcher.Origin;
|
||||
sprite.Scale = catcher.Scale;
|
||||
sprite.Blending = BlendingParameters.Additive;
|
||||
sprite.RelativePositionAxes = catcher.RelativePositionAxes;
|
||||
sprite.Position = catcher.Position;
|
||||
|
||||
target.Add(sprite);
|
||||
|
@ -20,6 +20,7 @@ namespace osu.Game.Rulesets.Catch.UI
|
||||
{
|
||||
Size = new Vector2(CatcherArea.CATCHER_SIZE);
|
||||
Origin = Anchor.TopCentre;
|
||||
Blending = BlendingParameters.Additive;
|
||||
InternalChild = body = new SkinnableCatcher();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user