public void makeData() { data.Reset(); for (int i = 0; i < newdata.notes.Count; ++i) { data.Add(newdata.notes[i]); } for (int i = 0; i < checkers.Length; ++i) { var checker = checkers[i]; var len = checker.GetNoteCount(); Debug.Log("checker:" + len.ToString()); for (int j = 0; j < len; ++j) { if (null != checker.GetNote(j)) { data.Add(checker.GetNote(j).GetNoteData()); } } } data.ProcessStacked(interval_recog, creating_interval); }