示例#1
0
 public static void AddOnePage2(UIPageController pageControl, GameObject pagePrefeb, GameObject turnPrefeb, Transform turnRoot, int pageSize, float turnButtonSpace, out GameObject madepage, out GameObject madeTurn)
 {
     pageControl.OpenAllPage();
     madepage = AddPageStep1(pageControl, pagePrefeb, pageSize);
     madeTurn = AddPageStep2_Optional(pageControl, turnRoot, turnPrefeb);
     LastFix1(pageControl, pageSize);
     LastFix2_Left(pageControl, turnButtonSpace);
     pageControl.LeavePage();
 }
示例#2
0
    public static GameObject AddOnePage(UIPageController pageControl, GameObject pagePrefeb, int pageSize)
    {
        pageControl.OpenAllPage();
        GameObject page = AddPageStep1(pageControl, pagePrefeb, pageSize);

        LastFix1(pageControl, pageSize);
        pageControl.LeavePage();
        return(page);
    }
示例#3
0
    public static GameObject AddOnePage(UIPageController pageControl, GameObject pagePrefeb, GameObject turnPrefeb, Transform turnRoot, int pageSize, float turnButtonSpace)
    {
        pageControl.OpenAllPage();
        GameObject page = AddPageStep1(pageControl, pagePrefeb, pageSize);

        AddPageStep2_Optional(pageControl, turnRoot, turnPrefeb);
        LastFix1(pageControl, pageSize);
        LastFix2(pageControl, turnButtonSpace);
        pageControl.LeavePage();
        return(page);
    }