static public int ConstructFromResource(IntPtr l) { try { FairyGUI.GImage self = (FairyGUI.GImage)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)); } }
static int ConstructFromResource(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); FairyGUI.GImage obj = (FairyGUI.GImage)ToLua.CheckObject(L, 1, typeof(FairyGUI.GImage)); obj.ConstructFromResource(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }