@@ -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)
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user