解决了node的问题(脚本编写错误并非代码错误)

This commit is contained in:
2025-10-06 17:43:21 +08:00
parent 334f55a250
commit 60a5347dde
4 changed files with 28 additions and 25 deletions

View File

@@ -129,7 +129,7 @@ namespace Demo.Game
MyMeshGenerator = this.GetOrAddComponent<TMeshGenerator>();
MyMeshGenerator.spline = MySplineCore.MySplineComputer;
SetupMeshGenerator(MyMeshGenerator);
MyMeshGenerator.Rebuild();
MyMeshGenerator.RebuildImmediate();
}
#region SetupMeshGenerator