static int _m_Unregister(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); LuaUIComponent gen_to_be_invoked = (LuaUIComponent)translator.FastGetCSObj(L, 1); { XLua.LuaTable _tb = (XLua.LuaTable)translator.GetObject(L, 2, typeof(XLua.LuaTable)); gen_to_be_invoked.Unregister(_tb); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }