public void EndTutorial() { if (tutorialManager == null) { Debug.LogError("MatchManager:EndTutorial(): tutorialManager not set"); return; } tutorialManager.End(); tutorialManager = null; PhotonNetwork.OfflineMode = false; UiManager.Instance.ShowMainMenu(); UiManager.Instance.SetReturnToMenuPanelActive(false); }