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