yyl
2026-05-08 ea4e25ceca21484cbb422b4ce49ec6bc1220441f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using System;
using System.Linq;
using UnityEngine;
using UnityEngine.UI;
using Cysharp.Threading.Tasks;
 
 
public class BattlePassBaseCell : CellView
{
    [SerializeField] Image bg;
    [SerializeField] Image word;
    [SerializeField] RedpointBehaviour redPoint;
    [SerializeField] Button btn;
    
 
 
    public void Display(int type)
    {
        bg.SetSprite("BattlePassBG" + type);
        word.SetSprite("BattlePassWord" + type);
        redPoint.redpointId = MainRedDot.RedPoint_FundKey * 100 + type;
        btn.AddListener(() =>
        {
            UIManager.Instance.OpenWindowAsync<BattlePassCommonWin>(type).Forget();
        });
    }
 
 
}