public static int OnEnable(IntPtr l) { int result; try { UIWrapContent uIWrapContent = (UIWrapContent)LuaObject.checkSelf(l); uIWrapContent.OnEnable(); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }