Example #1
0
    private void loadMusic(string name, int mode)
    {
        mll = new MusicListLoader(name);

        string beatMapPath = mll.getBeatMapList(mode).path;

        bml = new BeatMapLoader(beatMapPath);
    }
Example #2
0
    // 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();
    }