Beispiel #1
0
 protected override void OnUnload(EventArgs e)
 {
     _gameState?.Dispose();
     _gameState = null;
     FontManager.Clear();
     ShaderManager.Clear();
     TextureManager.Clear();
     base.OnUnload(e);
 }