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; } }
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(); }
public void Dispose() { m_machine.Dispose(); m_machine = null; }