public IEnumerator RevealFlop() { ContinueButton.interactable = false; yield return(TableCards.FlipCards(0, 3)); ContinueButton.interactable = true; ContinueButton.GetComponentInChildren <Text>().text = phaseStrings[HandPhase]; }
public IEnumerator RevealAllHands() { ContinueButton.interactable = false; foreach (var hand in Hands) { if (!hand.IsPlayerHand) { yield return(hand.FlipCards()); } } yield return(DealerHand.FlipCards()); ContinueButton.interactable = true; ContinueButton.GetComponentInChildren <Text>().text = phaseStrings[HandPhase]; }