Reactor.ReactorGame.UnloadContent C# (CSharp) 메소드

UnloadContent() 보호된 메소드

Unload your graphics content. If unloadAllContent is true, you should unload content from both ResourceManagementMode pools. Otherwise, just unload ResourceManagementMode.Manual content. Manual content will get Disposed by the GraphicsDevice during a Reset.
protected UnloadContent ( ) : void
리턴 void
        protected override void UnloadContent()
        {
            // TODO: Unload any ResourceManagementMode.Automatic content
                    try
                    {

                        //watermark = null;
                        //loader.Unload();
                        //loader = null;
                        //waterrenderer.Dispose();
                        //waterrenderer = null;
                    }
                    catch
                    {
                    }

                //game.Destroy();
                // TODO: Unload any ResourceManagementMode.Manual content
        }