Ejemplo n.º 1
0
 private void CreateCouple(List<GameObject> cards, CoupleCards coupleCard)
 {
     GameObject firstCard = CreateCard(coupleCard.firstCard);
     GameObject secondCard = CreateCard(coupleCard.secondCard);
     SetMatchingCards(firstCard, secondCard);
     cards.Add(firstCard);
     cards.Add(secondCard);
 }
Ejemplo n.º 2
0
    private void CreateCouple(List <GameObject> cards, CoupleCards coupleCard)
    {
        GameObject firstCard  = CreateCard(coupleCard.firstCard);
        GameObject secondCard = CreateCard(coupleCard.secondCard);

        SetMatchingCards(firstCard, secondCard);
        cards.Add(firstCard);
        cards.Add(secondCard);
    }