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 list) { base.Display(index, list); clickButton.SetListener(() => UIManager.Instance.OpenWindow()); float alpha = alphas[index]; canvasGroup.alpha = alpha; } }