public SplashScreen(MenuSystemScene pMenuSystem) { // stopwatch = Stopwatch.StartNew(); _timer = 0.0f; MenuSystem = pMenuSystem; loadProc = new List<Action>{ () => { ;//dummy }, () => { SplashImage = Support.SpriteFromFile("/Application/assets/images/UI/eyes.png"); this.AddChild(SplashImage); }, () => { var temp = Support.SpriteFromFile("/Application/assets/images/UI/header.png"); temp = Support.SpriteFromFile("/Application/assets/images/UI/menuBtnBG_blue2.png"); temp = Support.SpriteFromFile("/Application/assets/images/UI/menuBtnBG_red2.png"); temp = Support.SpriteFromFile("/Application/assets/images/UI/menuBtnBG_bottom.png"); temp = Support.SpriteFromFile("/Application/assets/images/UI/menuBtnBG_top.png"); var b = new BetterButton(); b.Cleanup(); Support.LoadAtlas("crystallonUI", ".png"); Support.LoadAtlas("gamePieces", ".png"); }, () => { Scheduler.Instance.Schedule( this, (dt) => { _timer += dt; if (_timer > 3.0f) { MenuSystem.SetScreen("Title"); this.UnscheduleAll(); } }, 0.0f, false, 0); } }; this.ScheduleUpdate(0); }