public override void Destroy() { base.Destroy(); m_highwayView.Dispose(); m_background.Dispose(); m_resources.Dispose(); m_audioController.Stop(); m_audioController.Dispose(); }
public override void Destroy() { base.Destroy(); m_highwayView.Dispose(); m_background.Dispose(); m_resources.Dispose(); if (m_debugOverlay != null) { Host.RemoveOverlay(m_debugOverlay); m_debugOverlay = null; } m_audioController?.Stop(); m_audioController?.Dispose(); }