using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class ShopPanelController : ScrollPanelController
{
    public virtual void Show(List<ShopItem> items)
    {
        for (int i = 0; i < items.Count && i <= MAX_COUNT; i++)
        {
            var scrollItem= Instantiate(scrollItemPrefab, content.transform);
            scrollItem.GetComponent<ShopItemController>().Init(items[i]);
            
        }
        base.Show();
    }
}
