Exemplo n.º 1
0
 private void Update()
 {
     if (lastCount != deck.CardCount())
     {
         ShowCards();
         lastCount = deck.CardCount();
     }
 }
Exemplo n.º 2
0
 private void Start()
 {
     fetchedCards = new Dictionary <int, GameObject>();
     deck         = GetComponent <CardStack>();
     ShowCards();
     lastCount         = deck.CardCount();
     deck.CardRemoved += Deck_CardRemoved;
 }