void OnMouseDown() { if (DeckManager.CardsRemaining(PlayerId) == 0) { DeckManager.ResetDeck(PlayerId); HideCard(); } else { var card = DeckManager.GetNextCard(PlayerId); ShowCard(card); } }
void OnMouseDown() { if (DeckManager.CardsRemaining(PlayerId) == 0) { DeckManager.ResetDeck(PlayerId); HideCard(); } else { var card = DeckManager.GetNextCard(PlayerId); ShowCard(card); } }