This commit is contained in:
SoulliesOfficial
2026-03-14 02:30:26 -04:00
parent cf86f0ee51
commit aee62cd637
2041 changed files with 246771 additions and 129128 deletions

View File

@@ -147,8 +147,8 @@ namespace Dreamteck.Splines
private Spline[] _splines = new Spline[0];
[SerializeField]
[HideInInspector]
//private bool _initializedInEditor = false;
//不把这些warning消掉就难受
private bool _initializedInEditor = false;
private int iterations => _subdivisions * _otherComputers.Length;
protected override void Awake()

View File

@@ -236,7 +236,7 @@ namespace Dreamteck.Splines
#if UNITY_6000_OR_NEWER
input.linearVelocity = HandleVelocity(input.linearVelocity);
#else
input.velocity = HandleVelocity(input.velocity);
input.linearVelocity = HandleVelocity(input.linearVelocity);
#endif
}
input.rotation = GetRotation(Quaternion.Euler(0f, 0f, input.rotation)).eulerAngles.z;