public void Dispose()
        {
            foreach (var machine in m_runningMachines)
            {
                machine.Dispose();
            }

            m_runningMachines.Clear();
        }
예제 #2
0
        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();
        }
예제 #3
0
 internal void Clean()
 {
     Data.Clear();
     MessageWidth = 0;
 }