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); }
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); }