コード例 #1
0
 private void Awake()
 {
     ItemListUI[] itemListUiArray = new ItemListUI[2]
     {
         this._normalItemListUI,
         this._specialItemListUI
     };
     for (int index = 0; index < this.controllers.Length; ++index)
     {
         ShopViewer.ItemListController itemListController = new ShopViewer.ItemListController(index != 0 ? ShopViewer.ItemListController.Mode.VendorSpecial : ShopViewer.ItemListController.Mode.Vendor);
         itemListController.Bind(itemListUiArray[index]);
         this.controllers[index] = itemListController;
     }
 }
コード例 #2
0
 public ExtraPadding(StuffItem item, ShopViewer.ItemListController source)
 {
     this.item   = item;
     this.source = source;
 }