private IEnumerator waitAndStart(float waitTime) { loadingScenario = true; yield return(new WaitForSeconds(waitTime)); hideGUI(); resetInputUI(); objectSpawner.startGame(); if (tutorialCounter >= tutorialNum) { currentState = GameState.ScenarioRunning; } else { currentState = GameState.TutorialRunning; } loadingScenario = false; }