hch
2026-03-20 d60ccb20a72755aecb2cfb4a7cb756eff6905f5c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using System.Collections.Generic;
using UnityEngine;
 
public class HeroDebutCallHistoryOutCell : HeroDebutCallHistoryCell
{
    [SerializeField] ButtonEx clickButton;
    [SerializeField] CanvasGroup canvasGroup;
    float[] alphas = new float[4] { 0.45f, 0.60f, 0.80f, 1f };
    public override void Display(int index, List<HeroDebutGameRec> list)
    {
        base.Display(index, list);
        clickButton.SetListener(() => UIManager.Instance.OpenWindow<HeroDebutCallHistoryWin>());
 
        float alpha = alphas[index];
        canvasGroup.alpha = alpha;
    }
}