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()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
int index= Scene_main_jiekou.instance._mallResponsePro.Data.TotalCount;//<2F>̳ǵ<CCB3><C7B5><EFBFBD>Ʒ<EFBFBD><C6B7><EFBFBD><EFBFBD>
|
|
|
|
|
|
|
|
|
|
foreach (itemInfo item in itemInfos)
|
|
|
|
|
{
|
|
|
|
|
if (index>0)
|
|
|
|
|
{
|
|
|
|
|
item.gameObject.SetActive(true);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-11-26 17:03:30 +08:00
|
|
|
|
|
|
|
|
|
}
|