Exemple #1
0
    private void CreateShopSlot()
    {
        for (int i = 0; i < ShopInventory.Size; i++)
        {
            ShopSlot shopSlotClone = Instantiate(ShopSlotPrefab, ShopPanel);
            shopSlotClone.ClearSlot();

            _shopSlots.Add(shopSlotClone);
        }
    }