//request a card if i dont have a card public void GetCard() { if (card.cardName == "No Card") { card = playerDeck.DrawCardFromDeck(); card.cardZone = this; card.OnDrawl(); SetCardSprite(); print(" i drew : " + card.cardName); //set sprite } }
//request a card if i dont have a card public void GetCard() { if (card.cardName == "No Card") { card = playerDeck.DrawCardFromDeck(); card.cardZone = this; card.OnDrawl(); SetCardSprite(); print(" i drew : " + card.cardName); //set sprite } }