yyl
17 小时以前 725b7b2374f43582a2d78b2cae3f8303359651b8
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
using System;
using System.Linq;
using UnityEngine;
using UnityEngine.UI;
 
 
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.OpenWindow<BattlePassCommonWin>(type);
        });
    }
 
 
}