Example #1
0
 public void SpawnNewCards(List <BattleCharacter> characters)
 {
     foreach (BattleCharacter c in characters)
     {
         CharacterCard card = Instantiate(characterCardPrefab, playerCardPanel).GetComponent <CharacterCard>();
         card.InitCard(c);
         card.UpdateCardColor(balancedColor);
         characterCards.Add(card);
     }
 }