Ejemplo n.º 1
0
 /// <summary>
 /// UnloadContent will be called once per game and is the place to unload
 /// all content.
 /// </summary>
 protected override void UnloadContent()
 {
     CoroutineManager.StopCoroutines("Load");
     Video.Close();
     VoipCapture.Instance?.Dispose();
     SoundManager?.Dispose();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// UnloadContent will be called once per game and is the place to unload
 /// all content.
 /// </summary>
 protected override void UnloadContent()
 {
     TextureLoader.CancelAll();
     CoroutineManager.StopCoroutines("Load");
     Video.Close();
     VoipCapture.Instance?.Dispose();
     SoundManager?.Dispose();
     MainThread = null;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// UnloadContent will be called once per game and is the place to unload
 /// all content.
 /// </summary>
 protected override void UnloadContent()
 {
     Video.Close();
     SoundManager.Dispose();
 }