void NewGame(FMVManager.Command c) { if (myvid == null) { MenuReady(c); } myvid.rp.transform.SetParent(transform); fmvman.PlaySong(new FMVManager.Command { file = "", type = FMVManager.CommandType.SONG }); fmvman.SwitchRoom("intro", 1, 'a'); YSpeed = 10.0f; }
protected void PlaySong(string file, bool loop = true) { fmvman.PlaySong(new FMVManager.Command { file = "../music/" + file + ".ogg", type = FMVManager.CommandType.SONG, tags = "", loop = loop }); }