private void SetGameMode() { if (PhotonNetwork.connected) { mode = GameMode.ONLINE; } else if (options.IsBotGame) { mode = GameMode.BOT; botManager = gameObject.AddComponent <BotManager>(); } else if (options.IsTutorialGame) { mode = GameMode.TUTORIAL; botManager = gameObject.AddComponent <BotManager>(); } else { mode = GameMode.LOCAL; } Debug.Log("IsOnline: " + IsOnlineGame.ToString()); Debug.Log("IsBot: " + IsBotGame.ToString()); Debug.Log("IsLocal: " + IsLocalGame.ToString()); Debug.Log("IsSimulated: " + IsSimulatedGame.ToString()); Debug.Log("IsTutorial: " + IsTutorialGame.ToString()); }