lcy
6 天以前 cffbf22341ba8fc5a60a37fe20a2b39ec3d8d7a3
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;
        }
    }
}