public void ShowOwnCard() { CreatePlayerCard(); firstCard.SetFace(true); secondCard.SetFace(true); }
public void River(int cardIndex) { UICard card = cardManager.GetCards(cardIndex); card.transform.SetParent(tableParent); card.gameObject.SetActive(true); card.transform.localScale = new Vector3(SCALE, SCALE, SCALE); card.transform.localPosition = new Vector3(XPOSITIONS[4], YPOSITION); card.SetFace(true); cards[4] = card; }
public void Flop(int cardIndex1, int cardIndex2, int cardIndex3) { UICard card = null; int[] cardIndice = { cardIndex1, cardIndex2, cardIndex3 }; for (int i = 0; i < 3; i++) { card = cardManager.GetCards(cardIndice[i]); card.transform.SetParent(tableParent); card.gameObject.SetActive(true); card.transform.localScale = new Vector3(SCALE, SCALE, SCALE); card.transform.localPosition = new Vector3(XPOSITIONS[i], YPOSITION); card.SetFace(true); cards[i] = card; } }