1.修复一些错误2.准备专门提供基于距离的spline3.tracydll存在崩溃问题

This commit is contained in:
2025-11-28 17:35:24 +08:00
parent 2a6bc6edf8
commit ee7bd2d800
22 changed files with 1376 additions and 507 deletions

View File

@@ -0,0 +1,21 @@
using Dreamteck.Splines;
using System.Collections;
using UnityEngine;
namespace Demo.Game
{
public class SplineSurfaceRenderer : BasicSplineRenderer<SurfaceGenerator>
{
public static SplineSurfaceRenderer Make()
{
return new GameObject().AddComponent<SplineSurfaceRenderer>();
}
protected override IEnumerator DoSomethingDuringApplyScript()
{
if (MyDefaultMaterial == null)
MyDefaultMaterial = StaticCacheDefaultMaterial;
yield return base.DoSomethingDuringApplyScript();
}
}
}