- Home /
Question by
Miti · Dec 26, 2016 at 12:12 PM ·
multiplayergoogle playgooglegoogle-play-store
Goolge play multiplayer service ...need help with automatch
Hi. i am new with Google play services and i am going to make a 1 vs 1 turnbased multiplayer game . I've followed docs and i used these codes to make auto match making .
public void OnQuickMatchClick(){
PlayGamesPlatform.Instance.TurnBased.CreateQuickMatch(1, 1,
0, OnMatchStarted);
}
// Callback:
void OnMatchStarted (bool success, TurnBasedMatch match)
{
if (success) {
SceneManager.LoadScene ("Game");
LogText.text = match.Participants.Count.ToString ();
}
else {
LogText.text ="Match Failed - try again";
}
}
in devices by click on quick match button game scene loads but the participant count is 1 and there is no opponent . Am i missing something ?
Comment
Your answer
Follow this Question
Related Questions
Google Play Services: Google Android Project or Github Plug-In? 0 Answers
How to remove 'com.xiaomi.account.openauth.AuthorizeActivityBase.onCreate' from my game 1 Answer
Saving/Loading Game State to/from the Cloud Google Play Services 1 Answer
Help about Google play realtime multiplayer 2 Answers
Google Games plugin for Unity time synchronization 0 Answers