public static lhLuaManager GetInstance() { if (m_instance != null) { return(null); } return(m_instance = new lhLuaManager()); }
public void Dispose() { if (luaState != null) { if (luaState != null) { luaState.Dispose(); luaState = null; } } m_instance = null; }