예제 #1
0
 public CardData[] GetSelectedCards()
 {
     foreach (CardData card in selected)
     {
         deck.Discard(card);
     }
     return(selected);
 }
예제 #2
0
 public void FinishSelecting()
 {
     isSelecting = false;
     foreach (CardData card in selected)
     {
         deck.Discard(card);
     }
     GetComponent <CardHandScript>().ClearDisplay();
 }