| using UnityEngine; | 
|   | 
| public class HeroCollectionLineCell : CellView | 
| { | 
|     [SerializeField] HeroCollectionCardCell[] cardList; | 
|   | 
|     public void Display(int index, int quality) | 
|     {  | 
|         var _List = HeroUIManager.Instance.heroCollectDict[quality]; | 
|         for (int i = 0; i < cardList.Length; i++) | 
|         { | 
|             if (i + index < _List.Count) | 
|             { | 
|                 cardList[i].SetActive(true); | 
|                 cardList[i].Display(index + i, quality); | 
|             } | 
|             else | 
|             { | 
|                 cardList[i].SetActive(false); | 
|             } | 
|         } | 
|     } | 
| } |