public void ScoreUp(InGameNote note) { if (note.CurrentRank == ValidationRank.Error) { return; } _currentResumeScore.First(i => i.Rank == note.CurrentRank).CurrentCount++; _currentScore += _scoreConf.First(i => i.Rank == note.CurrentRank).Score *_combo.CurrentCoef.Coef; _text.text = _currentScore.ToString(); OnScoreUp?.Invoke(note); OnNoteAccepted?.Invoke(); }
public void NoteMissed(InGameNote ign) { _missedNotes++; OnScoreUp?.Invoke(ign); OnNoteMissed?.Invoke(); }