using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class PageItem : MonoBehaviour { public int page; public Text text; public PageBtnControl pageBtnControl; public int itemNum; public Image image; private void Start() { pageBtnControl = transform.parent.gameObject.GetComponent(); image = transform.GetComponent(); transform.GetComponent