From 5365ab64413c51d97fc986e621073b3f0d415979 Mon Sep 17 00:00:00 2001 From: ninemine <1371605831@qq.com> Date: Mon, 1 Sep 2025 00:04:29 +0800 Subject: [PATCH] Save --- .../[Art]/Line/DreamTeckSplinePointBuilder.cs | 20 +------------------ .../Resources/ES3/ES3Defaults.asset | 2 ++ 2 files changed, 3 insertions(+), 19 deletions(-) diff --git a/Convention/[Art]/Line/DreamTeckSplinePointBuilder.cs b/Convention/[Art]/Line/DreamTeckSplinePointBuilder.cs index 8bd8ddb..e11dabc 100644 --- a/Convention/[Art]/Line/DreamTeckSplinePointBuilder.cs +++ b/Convention/[Art]/Line/DreamTeckSplinePointBuilder.cs @@ -6,7 +6,7 @@ using UnityEngine; namespace Convention.VFX { - public class DreamTeckSplinePointBuilder : MonoAnyBehaviour, ILoadedInHierarchy + public class DreamTeckSplinePointBuilder : MonoBehaviour, ILoadedInHierarchy { public enum InjectType { @@ -15,7 +15,6 @@ namespace Convention.VFX Broken = SplinePoint.Type.Broken, SmoothFree = SplinePoint.Type.SmoothFree }; - [Setting, InspectorDraw] public PerformanceIndicator.PerformanceMode performanceMode = PerformanceIndicator.PerformanceMode.Speed; [Content] public List childPoints = new(); [Resources, SerializeField, HopeNotNull, InspectorDraw] private SplineComputer m_splineComputer; @@ -100,23 +99,6 @@ namespace Convention.VFX m_splineRenderer = GetComponent(); } - private void LateUpdate() - { - if ((int)performanceMode >= (int)PerformanceIndicator.PerformanceMode.L6) - { - RebuildAll(); - m_splineRenderer.Rebuild(); - } - else if ((int)performanceMode >= (int)PerformanceIndicator.PerformanceMode.L6) - { - if (childPoints.Count != knots.Count) - RebuildAll(); - else - ResetPoints(); - m_splineRenderer.Rebuild(); - } - } - public static void SetKnot([In, ArgPackage] ref SplinePoint point, [In, ArgPackage] LinePoint linePoint) { point.position = linePoint.transform.localPosition; diff --git a/Convention/[ES3]/Easy Save 3/Resources/ES3/ES3Defaults.asset b/Convention/[ES3]/Easy Save 3/Resources/ES3/ES3Defaults.asset index 31dd54f..7096928 100644 --- a/Convention/[ES3]/Easy Save 3/Resources/ES3/ES3Defaults.asset +++ b/Convention/[ES3]/Easy Save 3/Resources/ES3/ES3Defaults.asset @@ -34,6 +34,8 @@ MonoBehaviour: - Assembly-CSharp-firstpass - Cinemachine - CW.Common + - Dreamteck.Splines + - Dreamteck.Utilities - EasySave3 - LeanCommon - LeanGUI