IEnumerator IsBlackjack() { player.GetCurrentHand.DisplayStateUI(0.0f); aiOpponent.GetCurrentHand.DisplayStateUI(0.0f); dealer.DisplayStateUI(0.0f); yield return(new WaitForSeconds(0.2f)); if ((player.IsBlackjack || aiOpponent.IsBlackjack) && !dealer.IsBlackjack) { yield return(new WaitForSeconds(SoundManager.Instance.P_Blackjack())); } if ((player.IsBlackjack && aiOpponent.IsBlackjack) || dealer.IsBlackjack) { NextTurn(PLAY_TURN.DEALER_GET); } else { NextTurn(PLAY_TURN.CHOICE); } }