Exemplo n.º 1
0
 //普通BAR转换为QTEBAR,用于QTE触发
 public void TurnBarIntoQTE(UIBar uIBar, List <Note> notes)
 {
     uIBar.type      = UIBar.barType.QTEBar;
     uIBar.bg.sprite = uIBar.bgQTE;
     //清除普通阶段的遗留音符
     currentEnergyNotes.Clear();
     InputSequenceController.Instance.CurInputSequence.Clear();
     uIBar.Empty();
     uIBar.InitLines();
     uIBar.ReadScore(notes);
     uIBar.InitNotes();
     currentQTENotes.AddRange(uIBar.GetComponent <UIBar>().noteList_QTE);
 }