public void Judge(Judgement judgement) { JudgeController.Judge(judgement); if (judgement == Just || judgement == Early || judgement == Late) { ComboCounter.AddCombo(); ScoreCounter.Judge(judgement); } else { ComboCounter.ResetCombo(); } Result.Judgements[judgement]++; Result.Combo = Mathf.Max(Result.Combo, ComboCounter.Count); }