perf
This commit is contained in:
@@ -52,18 +52,24 @@ namespace Ichni.RhythmGame
|
||||
protected override void Update()
|
||||
{
|
||||
float songTime = GameManager.instance.songTime;
|
||||
|
||||
if (!isFirstJudged &&
|
||||
|
||||
if (!isFirstJudged && !isDuringJudging &&
|
||||
songTime >= exactJudgeTime + judgeIntervals.beforeMiss.intervalStart &&
|
||||
!GameManager.instance.inputManager.checkingTapList.Contains(this))
|
||||
{
|
||||
isDuringJudging = true;
|
||||
GameManager.instance.inputManager.checkingTapList.Add(this);
|
||||
}
|
||||
|
||||
base.Update();
|
||||
}
|
||||
|
||||
public override NoteJudgeType GetStartJudgeType(float timeDifference)
|
||||
protected override void RemoveFromCheckingList()
|
||||
{
|
||||
GameManager.instance.inputManager.checkingTapList.Remove(this);
|
||||
}
|
||||
|
||||
protected override NoteJudgeType GetStartJudgeType(float timeDifference)
|
||||
{
|
||||
return judgeIntervals.GetNoteJudgeType(timeDifference);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user