2024-11-26 17:03:30 +08:00
|
|
|
using System.Collections;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
using UnityEngine;
|
|
|
|
using DG.Tweening;
|
|
|
|
|
2024-11-27 15:27:50 +08:00
|
|
|
public class shopPanel: ui_huodong
|
2024-11-27 23:22:34 +08:00
|
|
|
{
|
|
|
|
public List<itemInfo> itemInfos = new List<itemInfo>();
|
|
|
|
|
|
|
|
void initShop()
|
|
|
|
{
|
2024-11-27 23:39:41 +08:00
|
|
|
int index = 0;
|
|
|
|
foreach (KeyValuePair<int, ProductPro> go in Scene_main_jiekou.instance.shopItemDic)
|
2024-11-27 23:22:34 +08:00
|
|
|
{
|
2024-11-27 23:39:41 +08:00
|
|
|
itemInfos[index].initShow(go.Value.ProductId,go.Value.ProductName,go.Value.ProductPic.ToString());
|
2024-11-27 23:22:34 +08:00
|
|
|
}
|
|
|
|
}
|
2024-11-26 17:03:30 +08:00
|
|
|
|
|
|
|
}
|