Ejemplo n.º 1
0
 public void OnClicked()
 {
     if (!played && combatManager.playerCardCounter < 2)
     {
         revealed = true;
         played   = true;
         combatManager.AddToPower(cardValue, player);
         valueText.text = cardValue.ToString();
         GetComponent <Image>().color = Color.red;
     }
 }