public void Setup(ShopItem currentItem, ShopScrollList currentScrollList)
 {
     item             = currentItem;
     nameLabel.text   = item.itemName;
     priceLabel.text  = item.price.ToString();
     iconImage.sprite = item.icon;
     scrollList       = currentScrollList;
 }
 public void SetScrollList(ShopScrollList shopScrollList)
 {
     scrollList = shopScrollList;
     if (scrollList)
     {
         transform.SetParent(scrollList.contentPanel);
         transform.localScale = Vector3.one;
     }
     else
     {
         transform.SetParent(null);
     }
 }