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