hch
23 小时以前 05165121c8fa22af3d2fab2d56e644033ccb92b1
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;
        }
    }
}