private void HandleCardToUseChange(Card cardToUse) { if (cardToUse == null) { selectedUICard.ToggleSelection(); selectedUICard = null; } else { if (selectedUICard) { selectedUICard.ToggleSelection(); } selectedUICard = uiCards[cardToUse]; selectedUICard.ToggleSelection(); } }