// Update is called once per frame void Update() { if (LoadNewGame == true && IsHit == false) { if (m_Checkbox.AnimationCompleted()) { m_NumberManager.LoadNextGame(); LoadNewGame = false; m_Checkbox.Clear(); } } }
// Update is called once per frame void Update() { if (LoadNewGame == true && ButtonPressed == false) { if (m_Checkbox.AnimationCompleted()) { m_FlagManager.LoadNextGame(); LoadNewGame = false; m_Checkbox.Clear(); } } }