Esempio n. 1
0
 public void Init()
 {
     ScanMusics();
     InitPlayer();
     ProgressSlider.minValue = 0;
     LoopBtn.SetState(m_loopType);
     InstrumentBtn.Init(m_instrument);
     gameObject.SetActive(true);
 }
Esempio n. 2
0
 private void OnSelect(int instrument)
 {
     m_instrument = (int)instrument;
     player.SetInstrument(m_instrument);
     InstrumentBtn.Init(instrument);
 }