Signed-off-by: TRAfoer <lhf190@outlook.com>
This commit is contained in:
2025-12-21 01:00:57 +08:00
parent 55b7d30a04
commit 826f300f29
29 changed files with 225344 additions and 37672 deletions

View File

@@ -281,7 +281,28 @@ namespace Ichni.RhythmGame
holdingHoldList.Remove(this);
}
}
public void SetFinishEffects()//一定在播放完之后再搞这个
{
noteVisual.effectSubmodule.effectCollection["Holding"].ForEach(e => e.Adjust());
// noteVisual.effectSubmodule.effectCollection["GeneralJudge"].ForEach(e => e.Adjust());
// switch (EditorManager.instance.currentJudgeType)
// {
// case NoteJudgeType.Perfect:
// noteVisual.effectSubmodule.effectCollection["Perfect"].ForEach(e => e.Adjust());
// break;
// case NoteJudgeType.Good:
// noteVisual.effectSubmodule.effectCollection["Good"].ForEach(e => e.Adjust());
// break;
// case NoteJudgeType.Bad:
// noteVisual.effectSubmodule.effectCollection["Bad"].ForEach(e => e.Adjust());
// break;
// case NoteJudgeType.Miss:
// noteVisual.effectSubmodule.effectCollection["Miss"].ForEach(e => e.Adjust());
// break;
// }
}
private void LateUpdate()
{
if (isOnTrack)

View File

@@ -72,12 +72,12 @@ namespace Ichni.RhythmGame
if (exactJudgeTime - beyondTime - 0.5f > -EditorManager.instance.songInformation.delay)
{
gameObject.SetActive(false);
if (this is Hold hold)
{
EditorManager.instance.noteManager.RegisterNote(hold, hold.exactJudgeTime - beyondTime - 0.5f, hold.holdEndTime + finishTime + 1.5f);
// if (this is Hold hold)
// {
// EditorManager.instance.noteManager.RegisterNote(hold, hold.exactJudgeTime - beyondTime - 0.1f, + finishTime + 0.5f);
}
else EditorManager.instance.noteManager.RegisterNote(this, exactJudgeTime - beyondTime - 0.5f, exactJudgeTime + finishTime + 1.5f);
// }
EditorManager.instance.noteManager.RegisterNote(this, exactJudgeTime - beyondTime - 0.1f, (this is Hold hold ? hold.holdEndTime : exactJudgeTime) + finishTime + 0.1f);
}
}