/// <summary> /// LoadContent will be called once per game and is the place to load /// all of your content. /// </summary> protected override void LoadContent() { #if DEBUG _debugInfo = new DebugInfo(); _debugInfo.LoadContent(Services); #endif }
/// <summary> /// UnloadContent will be called once per game and is the place to unload /// all content. /// </summary> protected override void UnloadContent() { #if DEBUG if (_debugInfo != null) { _debugInfo.Dispose(); _debugInfo = null; } #endif }