public void UpdateState(float deltaTime) { if (FirstTime) { dealer.Bet = 0; dealer.BetField.text = ""; dealer.StartButton.gameObject.SetActive(true); dealer.transform.Find("Table/GameStatusText").gameObject.GetComponent <Text>().text += "Press Start to begin\n"; FirstTime = false; } if (dealer.Starting) { dealer.CashIn(); dealer.Restart(); ToStartHand(); } }