public void OnClickPlayerCard(CardViewerBattle cV) { if (!IsPlayerTurn) { return; } // If the player wants to unselect the selected card. if (SelectedPlayerCard && currPlayerCard.Equals(cV)) { Reset(); } else if (!SelectedPlayerCard) { currPlayerCard = cV; SelectedPlayerCard = true; } }