public void Dispose() { foreach (var machine in m_runningMachines) { machine.Dispose(); } m_runningMachines.Clear(); }
private void DisposeRunningScripts() { if (m_levelScripts == null) { return; } foreach (var levelScript in m_levelScripts) { levelScript.GameFinished(); levelScript.Dispose(); } m_smManager.Dispose(); m_smManager = null; m_levelScripts.Clear(); m_levelScripts.ApplyRemovals(); }
internal void Clean() { Data.Clear(); MessageWidth = 0; }