This commit is contained in:
SoulliesOfficial
2026-01-21 00:31:23 -05:00
parent 66a1701087
commit 4fe6ee5f99
70 changed files with 1595 additions and 687 deletions

View File

@@ -48,6 +48,11 @@ namespace Ichni.RhythmGame
}
}
private void LateUpdate()
{
if(trackPathSubmodule != null) trackPathSubmodule.refreshedThisFrame = false;
}
public override void AfterInitialize()
{
base.AfterInitialize();
@@ -56,6 +61,18 @@ namespace Ichni.RhythmGame
{
trackPathSubmodule.ClosePath();
}
if(trackRendererSubmodule != null)
{
//var path = trackPathSubmodule!.path;
trackRendererSubmodule.meshGenerator.autoUpdate = false;
/*path.ResampleTransform();
path.Subscribe(trackRendererSubmodule.meshGenerator);
path.EditorUpdateConnectedNodes();
path.RebuildImmediate(true, true);*/
//path.EditorAwake();
}
}