/// <summary> /// UnloadContent will be called once per game and is the place to unload /// game-specific content. /// </summary> protected override void UnloadContent() { // TODO: Unload any non ContentManager content here spaceManager.Dispose(); sunManager.Dispose(); planetManager.Dispose(); asteroidManager.Dispose(); menuManager.Dispose(); creditManager.Dispose(); }