コード例 #1
0
ファイル: ContentManager.cs プロジェクト: srakowski/LD36
 internal void Reset()
 {
     _images.Clear();
     _spriteSheets.Clear();
     _spriteFonts.Clear();
     _soundEffects.Clear();
     _content.Unload();
 }
コード例 #2
0
ファイル: LSilverlightPlus.cs プロジェクト: vb0067/LGame
 public void Destory()
 {
     log.I("LGame 2D Engine Shutdown");
     isClose = true;
     XNAConfig.Dispose();
     useXNAListener = false;
     if (this.sl_listener != null)
     {
         this.sl_listener.Dispose(GamePage, true);
         this.sl_listener = null;
     }
     if (UIElementRenderer != null)
     {
         UIElementRenderer.Dispose();
         UIElementRenderer = null;
     }
     if (content != null)
     {
         content.Unload();
         content = null;
     }
 }
コード例 #3
0
ファイル: IntroScreen.cs プロジェクト: Kaikat/TicTacToe
 public void Destroy(Microsoft.Xna.Framework.Content.ContentManager Content)
 {
     InAnimation.Clear();
     OutAnimation.Clear();
     Content.Unload();
 }