示例#1
0
 private void OptionsSelected()
 {
     for (int i = 0; i < activeCards.Length; i++)
     {
         SelectableCard card = activeCards[i].GetComponent <SelectableCard>();
         if (card.IsSelected())
         {
             logic.InteractWithActiveCard(i);
             break;
         }
     }
 }
示例#2
0
 private void ShowSelectedCard()
 {
     for (int i = 0; i < activeCards.Length; i++)
     {
         SelectableCard card = activeCards[i].GetComponent <SelectableCard>();
         if (card.IsSelected())
         {
             card.ShowCard((int)CardType.OPAL, false);
             break;
         }
     }
 }