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