void Start() { Screen.orientation = ScreenOrientation.Landscape; game1.SetActive(false); blankScreen.SetActive(false); microgames = MicroGames.START; }
//=========================================================== // Coroutines //=========================================================== IEnumerator waitingStart(float sec) { if (blankRoutine == true) { blankRoutine = false; yield return(new WaitForSeconds(sec)); microgames = MicroGames.GAME; } }