Beispiel #1
0
    public static GameObject AddOnePageEx(UIPageControllerEx pageControl, GameObject pagePrefeb, int pageSize)
    {
        GameObject page = AddPageExStep1(pageControl, pagePrefeb, pageSize);

        pageControl.SetPageInformation(pageSize);
        return(page);
    }
Beispiel #2
0
    public static GameObject AddOnePageEx(UIPageControllerEx pageControl, GameObject pagePrefeb)
    {
        GameObject page = AddPageExStep1(pageControl, pagePrefeb);

        pageControl.SetPageInformation(pageControl.bVertical ? (int)pageControl.ClipPanel.clipRange.w : (int)pageControl.ClipPanel.clipRange.z);
        return(page);
    }