Beispiel #1
0
 public void Setup(StoreItem currentItem, StoreScrollList currentScrollList)
 {
     item          = currentItem;
     itemName.text = item.itemName;
     image.sprite  = item.icon;
     priceInt      = item.priceGP;
     price.text    = priceInt.ToString();
     scrollList    = currentScrollList;
 }
Beispiel #2
0
 private void Awake()
 {
     scrollList = new StoreScrollList();
 }