Exemple #1
0
 public static void UnloadAll()
 {
     if (s_animMachine != null)
     {
         s_loadedAnims.Clear();
         s_animMachine.Dispose();
         s_animMachine       = null;
         s_install_animation = null;
         s_call_animation    = null;
     }
 }
Exemple #2
0
        private void Halt()
        {
            if (m_machine == null)
            {
                throw new InvalidOperationException();
            }

            // Shutdown lua machine
            m_machine.Dispose();
            m_machine     = null;
            m_mainRoutine = null;
            m_eventFilter.Clear();

            // Shutdown file system
            m_fileSystem.UnmountAll();
        }
Exemple #3
0
 public void Dispose()
 {
     m_machine.Dispose();
     m_machine = null;
 }