Exemple #1
0
 internal void UpdateView(IInventoryOwner customer, InventoryShop shop, int i)
 {
     text.text      = shop.GetCost(i).ToString();
     display.sprite = shop.GetUIDisplay(i);
     display.color  = shop.CanBuy(customer, i) ? Color.white : Color.gray;
 }