private void loadMusic(string name, int mode) { mll = new MusicListLoader(name); string beatMapPath = mll.getBeatMapList(mode).path; bml = new BeatMapLoader(beatMapPath); }
// Use this for initialization void Start() { bml = new BeatMapLoader(Application.dataPath + @"/BeatMap/test_music_easy.xml"); while (bml.read()) { text.text += bml.reader.ToString() + "\n"; } mll = new MusicListLoader("test_music"); text.text += mll.ToString(); }