21 lines
509 B
C#
21 lines
509 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using UnityEngine;
|
|
using DG.Tweening;
|
|
|
|
public class shopPanel: ui_huodong
|
|
{
|
|
public List<itemInfo> itemInfos = new List<itemInfo>();
|
|
|
|
void initShop()
|
|
{
|
|
int index = 0;
|
|
foreach (KeyValuePair<int, ProductPro> go in Scene_main_jiekou.instance.shopItemDic)
|
|
{
|
|
itemInfos[index].initShow(go.Value.ProductId,go.Value.ProductName,go.Value.ProductPic.ToString());
|
|
}
|
|
}
|
|
|
|
}
|