Exemple #1
0
 public void Init()
 {
     ScanMusics();
     InitPlayer();
     ProgressSlider.minValue = 0;
     LoopBtn.SetState(m_loopType);
     InstrumentBtn.Init(m_instrument);
     gameObject.SetActive(true);
 }
Exemple #2
0
 public void OnItemClick(InstrumentBtn go)
 {
     gameObject.SetActive(false);
     m_callback?.Invoke(go.Instrument);
 }