예제 #1
0
        private void OnNoteWasFullyCut(CutScoreBuffer csb)
        {
            var noteCutInfo = csb.GetPrivateField <NoteCutInfo>("_noteCutInfo");

            if (csb != null)
            {
                csb.didFinishEvent -= OnNoteWasFullyCut;
            }

            ScoreController.RawScoreWithoutMultiplier(noteCutInfo, out var score, out var afterScore, out var cutDistanceScore);
            OnNoteFullyCut(score + afterScore + cutDistanceScore);
        }