Revert "我不理解,这check那check就是出不来"

This reverts commit ba1824d5d6.
This commit is contained in:
SoulliesOfficial
2025-10-03 06:30:22 -04:00
parent ba1824d5d6
commit 2e3b2bd908
25 changed files with 181377 additions and 197816 deletions

View File

@@ -13,7 +13,7 @@ namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse
private DTMNoteVisualHold noteVisualHold;
public float targetStartPercent, targetEndPercent;
public float startPercent, endPercent;
public DTMNoteGenerateExtend(NoteVisualBase noteVisual, float generateTime, float effectTime)
{
this.note = noteVisual.note;
@@ -22,8 +22,6 @@ namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse
this.noteVisualHold = noteVisual as DTMNoteVisualHold;
this.generateTime = generateTime;
this.effectTime = effectTime;
this.nowEffectState = CheckEffectState(EditorManager.instance.songInformation.songTime);
}
private void UpdateHold()
@@ -33,7 +31,7 @@ namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse
noteVisualHold.headPoint.SetPercent(startPercent);
noteVisualHold.tailPoint.SetPercent(endPercent);
}
public override void Recover()
{
noteVisualHold.noteMain.SetActive(false);
@@ -53,7 +51,7 @@ namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse
endPercent = targetStartPercent;
noteVisual.noteMain.SetActive(true);
}
public override void Execute()
{
float e = AnimationCurveEvaluator.Evaluate(AnimationCurveType.OutQuad, effectProgressPercent);
@@ -68,7 +66,7 @@ namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse
endPercent = targetEndPercent;
UpdateHold();
}
public override void SetUpInspector()
{
IHaveInspection inspector = EditorManager.instance.uiManager.inspector;