新谱
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user