IEnumerator ActivateInGameUI() { mainMenu.MainMenuEndAnimation(); yield return(new WaitForSeconds(0.3f)); mainMenu.gameObject.SetActive(false); inGameUI.gameObject.SetActive(true); inGameUI.InGameUIStartAnimation(); }