예제 #1
0
 public void CreateTable(int tableNumber)
 {
     UISystem.IntilizationBlocks <UITable>(table, tableNumber, tablePre, tabs);
     UISystem.IntilizationBlocks <UITable>(tableC, tableNumber, tableCPre, tabsC);
     if (dragScrollView)
     {
         for (int i = 0; i < list.Count; i++)
         {
             if (list[i].GetComponent <UIDragScrollView>() == null)
             {
                 list[i].AddComponent <UIDragScrollView>().scrollView = scrollView;
             }
         }
     }
     if (dragTabScrollView)
     {
         for (int i = 0; i < tabs.Count; i++)
         {
             if (tabs[i].GetComponent <UIDragScrollView>() == null)
             {
                 tabs[i].AddComponent <UIDragScrollView>().scrollView = tabScrollView;
             }
         }
     }
 }
예제 #2
0
 public void CreateItemScrollView(int PageNumber)
 {
     UISystem.IntilizationBlocks <UIGrid>(newItemsGrid, PageNumber, PagePre, Pages);
 }