Example #1
0
 private void Refresh()
 {
     foreach (ConstructionItem i in inventory.items)
     {
         ShopSlot slot = ShopSlot.Instantiate(shopSlotPrefab, content);
         slot.Display(i, dragParent, slot.gameObject);
     }
 }