private void PlayFab_OnMatchmakeSuccess(MatchmakeResult result) { isJoining = false; if (result.Status == MatchmakeStatus.Complete) { clientNetworkManager.JoinServer(result.ServerHostname, result.Ticket); } else if (result.Status == MatchmakeStatus.GameNotFound || result.Status == MatchmakeStatus.NoAvailableSlots) { clientNetworkManager.OnJoinServerFailed("PlayFab: No servers with available slots were found."); } else { clientNetworkManager.OnJoinServerFailed("PlayFab: Returned unknown matchmaking status: " + result.Status); } }