mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Use LifetimeManagementContainer
This is a significant performance boost for gameplay, especially for long or stroyboard-heavy maps.
This commit is contained in:
@ -56,7 +56,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables.Connections
|
||||
|
||||
private void update()
|
||||
{
|
||||
Clear();
|
||||
ClearInternal();
|
||||
|
||||
if (hitObjects == null)
|
||||
return;
|
||||
@ -86,7 +86,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables.Connections
|
||||
|
||||
FollowPoint fp;
|
||||
|
||||
Add(fp = new FollowPoint
|
||||
AddInternal(fp = new FollowPoint
|
||||
{
|
||||
Position = pointStartPosition,
|
||||
Rotation = rotation,
|
||||
|
Reference in New Issue
Block a user