private void HandleClickedOnCardOnHand(Card c) { if (Hand.IsCardFromHand(c)) { Hand.SetSelectedCard(c); } else { return; } canSnap = true; if (c.Statistics.HasValue(CardPlayerStatType.Solar)) { int playerSolar = PlayerStatistics.GetValue <int>(CardPlayerStatType.Solar); int cardSolar = c.Statistics.GetValue <int>(CardPlayerStatType.Solar); if (cardSolar > playerSolar) { canSnap = false; //return; //Not enough Solar } else { canSnap = true; } } else //Card has no solar costs or nothing defined as solar cost { canSnap = true; } dragging = true; draggedCard = c; Debug.Log("Clicked On Card"); }