public static new DebugSong CreateSongFromXML(string songname) { DebugSong newsong = new DebugSong(songname); return(newsong); }
// Use this for initialization protected override void Start() { timer = gameObject.AddComponent(typeof(Metronome)) as Metronome; cursong = DebugSong.CreateSongFromXML(cursongname); StartSong(cursong); }