lcy
2026-04-02 dd87bce5f1b7024ffbe2cdc1d03ca41ac2b30095
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 HeroReturnCallHistoryOutCell : HeroReturnCallHistoryCell
{
    [SerializeField] CanvasGroup canvasGroup;
  
    public override void Display(int index, List<HeroReturnGameRec> list)
    {
        base.Display(index, list);
    }
 
    // 提供给外部设置透明度的方法
    public void SetAlpha(float alpha)
    {
        if (canvasGroup != null)
        {
            canvasGroup.alpha = alpha;
        }
    }
}