protected override void LoadComplete() { base.LoadComplete(); Scheduler.Add(delegate { welcome.Play(); Scheduler.AddDelayed(delegate { bgm.Start(); mainMenu = new MainMenu(); mainMenu.Preload(Game); Scheduler.AddDelayed(delegate { DidLoadMenu = true; Push(mainMenu); }, 2300); }, 600); }); logo.ScaleTo(0.4f); logo.FadeOut(); logo.ScaleTo(1, 4400, EasingTypes.OutQuint); logo.FadeIn(20000, EasingTypes.OutQuint); }
protected void PrepareMenuLoad() { LoadComponentAsync(mainMenu = new MainMenu()); }