Example #1
0
 private void SpawCards(Transform holder, List <CardData> cardDataList)
 {
     foreach (var cardData in cardDataList)
     {
         var slot = _cardBuilder.GetSlotCard(cardData);
         slot.transform.SetParent(holder, false);
         slot.transform.localScale = Vector3.one;
     }
 }