update
This commit is contained in:
@@ -25,8 +25,8 @@ namespace Ichni.RhythmGame
|
||||
stay.preJudgeType = NoteJudgeType.NotJudged;
|
||||
stay.judgeIntervals = new NoteJudgeIntervals(
|
||||
new TimeInterval(-0.15f, -0.15f), new TimeInterval(-0.15f, -0.15f),
|
||||
new TimeInterval(-0.15f, -0.15f), new TimeInterval(-0.15f, 0.1f),
|
||||
new TimeInterval(0.1f, 0.15f), new TimeInterval(0.15f, 0.15f), 0.15f);
|
||||
new TimeInterval(-0.15f, -0.15f), new TimeInterval(-0.15f, 0.125f),
|
||||
new TimeInterval(0.125f, 0.15f), new TimeInterval(0.15f, 0.15f), 0.15f);
|
||||
|
||||
if (parentElement.TryGetComponent(out Track track))
|
||||
{
|
||||
@@ -63,7 +63,7 @@ namespace Ichni.RhythmGame
|
||||
GameManager.instance.inputManager.checkingStayList.Add(this);
|
||||
}
|
||||
|
||||
DecideJudge(songTime);
|
||||
ExecuteFinalJudge(songTime);
|
||||
|
||||
base.Update();
|
||||
}
|
||||
@@ -89,7 +89,7 @@ namespace Ichni.RhythmGame
|
||||
}
|
||||
}
|
||||
|
||||
public void DecideJudge(float triggerTime)
|
||||
public void ExecuteFinalJudge(float triggerTime)
|
||||
{
|
||||
if (isFirstJudged && !isFinalJudged && preJudgeType != NoteJudgeType.NotJudged &&
|
||||
GameManager.instance.songTime >= exactJudgeTime)
|
||||
@@ -110,6 +110,11 @@ namespace Ichni.RhythmGame
|
||||
{
|
||||
Miss(triggerTime);
|
||||
}
|
||||
|
||||
if (preJudgeType != NoteJudgeType.Miss)
|
||||
{
|
||||
noteAudioSubmodule.PlayGeneralJudgeAudios();
|
||||
}
|
||||
|
||||
isFinalJudged = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user