18 lines
354 B
C#
18 lines
354 B
C#
|
|
using System.Collections;
|
||
|
|
using System.Collections.Generic;
|
||
|
|
using UnityEngine;
|
||
|
|
|
||
|
|
// 分页
|
||
|
|
[System.Serializable]
|
||
|
|
public class PageData
|
||
|
|
{
|
||
|
|
public int pageNum; // 当前页码
|
||
|
|
public int pageSize; // 每页显示的数量
|
||
|
|
|
||
|
|
public PageData(int pageNum, int pageSize)
|
||
|
|
{
|
||
|
|
this.pageNum = pageNum;
|
||
|
|
this.pageSize = pageSize;
|
||
|
|
}
|
||
|
|
}
|