Esempio 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();
 }
Esempio 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;
 }
Esempio 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();
 }