public void Restart() { winText.gameObject.SetActive(false); loseText.gameObject.SetActive(false); tieText.gameObject.SetActive(false); restartButton.gameObject.SetActive(false); playButtons.gameObject.SetActive(false); betButtons.gameObject.SetActive(true); dealerScoreText.text = "Dealer: " + 0; dealerScoreText.color = Color.white; playerScoreText.text = "Player: " + 0; playerScoreText.color = Color.white; betValue = 0; betText.text = "" + betValue; playValue.text = Constants.PotMoneyText + betValue; deckManager.DiscardCards(); CardDealer.StartRoutine(); var clones = GameObject.FindGameObjectsWithTag("clone"); foreach (var clone in clones) { Destroy(clone); } Destroy(GameObject.FindGameObjectWithTag("backCard")); }