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