mirror of
https://github.com/osukey/osukey.git
synced 2025-05-07 06:37:18 +09:00
Clear all transforms of catcher trail sprite before returned to pool
This commit is contained in:
parent
88db7823b2
commit
22a5df6309
@ -30,5 +30,11 @@ namespace osu.Game.Rulesets.Catch.UI
|
|||||||
// Sets the origin roughly to the centre of the catcher's plate to allow for correct scaling.
|
// Sets the origin roughly to the centre of the catcher's plate to allow for correct scaling.
|
||||||
OriginPosition = new Vector2(0.5f, 0.06f) * CatcherArea.CATCHER_SIZE;
|
OriginPosition = new Vector2(0.5f, 0.06f) * CatcherArea.CATCHER_SIZE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected override void FreeAfterUse()
|
||||||
|
{
|
||||||
|
ClearTransforms();
|
||||||
|
base.FreeAfterUse();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user