Ejemplo n.º 1
0
        public void DestroyNote(NoteItem note)
        {
            if (note == null)
            {
                return;
            }

            // 連結ノーツの開始点をタップ漏れした場合
            if (note.isWaitLinkStart())
            {
                Debug.LogWarning("Miss: 連結ノーツの開始点をタップ漏れ");
                DestroyChildren(note);
            }

            note.Destroy();
            if (!note.isLinkStarted())
            {
                note.state = NoteState.End;
            }
        }