static public int ReplaceMe(IntPtr l) { try { FairyGUI.GGraph self = (FairyGUI.GGraph)checkSelf(l); FairyGUI.GObject a1; checkType(l, 2, out a1); self.ReplaceMe(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static int ReplaceMe(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.ReplaceMe(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }