static int ConstructFromResource(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); FairyGUI.GComponent obj = (FairyGUI.GComponent)ToLua.CheckObject(L, 1, typeof(FairyGUI.GComponent)); obj.ConstructFromResource(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static public int ConstructFromResource(IntPtr l) { try { FairyGUI.GComponent self = (FairyGUI.GComponent)checkSelf(l); FairyGUI.PackageItem a1; checkType(l, 2, out a1); self.ConstructFromResource(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }