Hi, I dont knw whether this question is asked before or not.I’m currentlty integrating the GooglePlayGameservices plugin provide by google - “GitHub - playgameservices/play-games-plugin-for-unity: Google Play Games plugin for Unity”.Everything is working fine.I just want to know whether is there any way to get the player score from the leaderboard.The code i tried for this is
//If successfully synced to GooglePlay
if(PlayGamesPlatform.Instance.IsAuthenticated())
{
Social.LoadScores(LeaderBoard_UID, scores =>
{
if (scores.Length > 0)
{
foreach (IScore score in scores)
if (score.userID == Social.localUser.id)
{
Debug.Log("Score from read function - "+score);
}
}
});
}
This is not working.I alsow tried
PlayGamesPlatform.Instance.LoadScores ();
But if you take a look at the PlayGamesPlatform script in the plugin directory,the google guys have not implemented it yet.
Any luck accomplishing rather than writing my own plugin for play services using ADT ?
Any help appreciated…