修改crosstrackpiont并且使其支持两种模式(注意:本体理论同步,需要实测)

Signed-off-by: TRADER_FOER <lhf190@outlook.com>
This commit is contained in:
2026-07-10 15:10:00 +08:00
parent 13750487cf
commit 9ce3173697
23 changed files with 289986 additions and 406 deletions

View File

@@ -21,14 +21,14 @@ namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse.Beatmap
}
public DTMTrail_BM(string elementName, Guid elementGuid, List<string> tags, GameElement_BM parentElement,
string themeBundleName, string objectName, bool isStatic, FlexibleFloat visibleTimeLength,
FlexibleBool enableTimes, FlexibleFloat headRotateSpeed, float enableProcessTime, float headSize,
string themeBundleName, string objectName, bool isStatic, FlexibleFloat_BM visibleTimeLength,
FlexibleBool_BM enableTimes, FlexibleFloat_BM headRotateSpeed, float enableProcessTime, float headSize,
AnimationCurve widthCurve, Gradient trailAlphaGradient) :
base(elementName, elementGuid, tags, parentElement, themeBundleName, objectName, isStatic)
{
this.visibleTimeLength = visibleTimeLength?.ConvertToBM();
this.enableTimes = enableTimes?.ConvertToBM();
this.headRotateSpeed = headRotateSpeed?.ConvertToBM();
this.visibleTimeLength = visibleTimeLength;
this.enableTimes = enableTimes;
this.headRotateSpeed = headRotateSpeed;
this.enableProcessTime = enableProcessTime;
this.headSize = headSize;
this.widthCurve = widthCurve;

View File

@@ -9,8 +9,8 @@ namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse
public override void SaveBM()
{
matchedBM = new Beatmap.DTMTrail_BM(elementName, elementGuid, tags, parentElement.matchedBM as Ichni.RhythmGame.Beatmap.GameElement_BM,
themeBundleName, objectName, isStatic, visibleTimeLength, enableTimes, headRotateSpeed, enableProcessTime, headSize,
widthCurve, trailAlphaGradient);
themeBundleName, objectName, isStatic, visibleTimeLength?.ConvertToBM(), enableTimes?.ConvertToBM(),
headRotateSpeed?.ConvertToBM(), enableProcessTime, headSize, widthCurve, trailAlphaGradient);
}
public override void SetUpInspector()