public void ShutDown() { if (!Enabled) { return; } if (musicChannel != null) { musicChannel.Stop(); } if (music != null) { music.Release(); } if (sounds != null) { foreach (var s in sounds.Values) { s.Channel.Stop(); s.InnerSound.Release(); } } system.Close(); system = null; }
public void ShutDown() { if (!Enabled) { return; } StopEverything(); system.Close(); system = null; }