In the Join a matchmaking ticket session of the document,
there is such code:
PlayFabMultiplayer.OnMatchmakingTicketCompleted += PlayFabMultiplayer_OnMatchmakingTicketStatusChanged;
And it is explained as
One OnMatchmakingTicketStatusChanged will be triggered with the Status being WaitingForMatch.
The code snippet should be corrected as below:
PlayFabMultiplayer.OnMatchmakingTicketStatusChanged += PlayFabMultiplayer_OnMatchmakingTicketStatusChanged;
because the PlayFabMultiplayer.OnMatchmakingTicketCompleted event is triggered when the ticket is cancelled or matched instead of status changed, right?
In the 2nd part of the codesnippet, there is such code:
Debub.Log(ticket.Status)
which should be changed to:
Debug.Log(ticket.Status);
just a bit typo, and please don't forget the semicolon at the end.
In the Join a matchmaking ticket session of the document, there is such code:
PlayFabMultiplayer.OnMatchmakingTicketCompleted += PlayFabMultiplayer_OnMatchmakingTicketStatusChanged;
And it is explained asThe code snippet should be corrected as below:
PlayFabMultiplayer.OnMatchmakingTicketStatusChanged += PlayFabMultiplayer_OnMatchmakingTicketStatusChanged;
because the PlayFabMultiplayer.OnMatchmakingTicketCompleted event is triggered when the ticket is cancelled or matched instead of status changed, right?In the 2nd part of the codesnippet, there is such code:
Debub.Log(ticket.Status)
which should be changed to:
Debug.Log(ticket.Status);
just a bit typo, and please don't forget the semicolon at the end.