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