- Home /
The question is answered, right answer was accepted
GPGS - How To Cancel Matchmaking Properly?
I'm using Google play game services plugin in my game and using my own UI for quick matchmaking lobby. When i call PlayGamesPlatform.Instance.RealTime.LeaveRoom ();
during opponent serach, I get no callbacks.
So, how to cancel matchmaking properly?
Answer by starikcetin · Oct 27, 2015 at 01:07 PM
I found it:
Leaves the room. Call this method to leave the room after you have started room setup. Leaving the room is not an immediate operation -- you must wait for RealTimeMultplayerListener.OnLeftRoom to be called. If you leave a room before setup is complete, you will get a call to RealTimeMultiplayerListener.OnRoomConnected with false parameter instead. If you attempt to leave a room that is shutting down or has shutdown already, you will immediately receive the RealTimeMultiplayerListener.OnLeftRoom callback.
Follow this Question
Related Questions
Multiplayer Networking Problem in Android 0 Answers
UNET cannot connect android devices. 1 Answer
GPGS - How to check if a Saved Game file exists? 1 Answer
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers