修改crosstrackpiont并且使其支持两种模式(注意:本体理论同步,需要实测)
Signed-off-by: TRADER_FOER <lhf190@outlook.com>
This commit is contained in:
@@ -9785,7 +9785,7 @@ MonoBehaviour:
|
||||
themeBundleName:
|
||||
objectName:
|
||||
isStatic: 0
|
||||
headPoint: {fileID: 213058329049743950}
|
||||
headPoint: {fileID: 4577072593820393136}
|
||||
headCircle: {fileID: 4577072594143320190}
|
||||
sparks: {fileID: 4577072594657777396}
|
||||
trailBody: {fileID: 2699665565157051537}
|
||||
@@ -10043,7 +10043,7 @@ Transform:
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_ConstrainProportionsScale: 1
|
||||
m_Children: []
|
||||
m_Father: {fileID: 4577072593858437033}
|
||||
m_LocalEulerAnglesHint: {x: -90, y: 0, z: 0}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user