public void InitializeCardDataBase() { if (currentSave != null && data != null) { List <CardData> dataList = data.GetAllCardData().Where(x => x.GetRarity() != CollectableRarity.Champion).OrderBy(x => x.GetName()).ToList(); for (int i = 0; i < dataList.Count; i++) { DerivedCardDataSelectionButton selectionButton = CreateCardDataSelectionButton(CardDatabaseContent.transform); selectionButton.UpdateText(dataList[i]); AllGameDataSelectionButtonsPool.Add(selectionButton); } } }