hch
3 天以前 1898a5f28dfffa7bbecf5d2bf024f20b8d0490e7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using System.Collections.Generic;
using UnityEngine;
 
public class HeroDebutCallHistoryOutCell : HeroDebutCallHistoryCell
{
    [SerializeField] CanvasGroup canvasGroup;
  
    public override void Display(int index, List<HeroDebutGameRec> list)
    {
        base.Display(index, list);
    }
 
    // 提供给外部设置透明度的方法
    public void SetAlpha(float alpha)
    {
        if (canvasGroup != null)
        {
            canvasGroup.alpha = alpha;
        }
    }
}