private IEnumerator DelayedGameModeActivation(GameObject gameMode, int initialPlayerCount) { // Wait a frame for game scene to load yield return(new WaitForEndOfFrame()); m_gameMode.InitializeMode(initialPlayerCount); m_gameMode.gameObject.SetActive(true); }