예제 #1
0
    public static new DebugSong CreateSongFromXML(string songname)
    {
        DebugSong newsong = new DebugSong(songname);

        return(newsong);
    }
예제 #2
0
 // Use this for initialization
 protected override void Start()
 {
     timer   = gameObject.AddComponent(typeof(Metronome)) as Metronome;
     cursong = DebugSong.CreateSongFromXML(cursongname);
     StartSong(cursong);
 }