protected override void LoadContent() { GraphicsUtils.Instance.SpriteBatch = new SpriteBatch(GraphicsDevice); GraphicsUtils.Instance.Load(ContentManager); ScreenManager.SetScreenTransition( new FadeTransition { Speed = 3f } ); ScreenManager.AddScreen( new SplashScreen { BackgroundColor = Color.White } ); InputManager.RegisterInputEvent(new KeyInputBinding(Keys.F1), callback: () => { var activeScreen = ScreenManager.GetActiveScreen(); activeScreen.IsDebug = !activeScreen.IsDebug; }); }