void LobbyLeft(GalaxyID lobbyID) { matchmaking.CurrentLobbyID = null; matchmaking.LobbyOwnerID = null; matchmaking.leftOnMyOwn = false; matchmaking.ShutdownLobbyChat(); matchmaking.ShutdownLobbyManagementMainMenu(); Debug.Log("Lobby " + lobbyID + " left"); }
void LobbyDataUpdatedSteady(GalaxyID lobbyID) { if (matchmaking.GetLobbyData(lobbyID, "state") == "steady") { Debug.Assert(matchmaking.GetLobbyMemberData(GalaxyManager.Instance.MyGalaxyID, "state") == "ready"); matchmaking.SetLobbyMemberData("state", "steady"); SceneController.Instance.LoadScene(SceneController.SceneName.Online2PlayerGame, true); matchmaking.ShutdownLobbyManagementMainMenu(); } }