private void OptionsSelected() { for (int i = 0; i < activeCards.Length; i++) { SelectableCard card = activeCards[i].GetComponent <SelectableCard>(); if (card.IsSelected()) { logic.InteractWithActiveCard(i); break; } } }
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; } } }