Im starting work with the google play services, specifically with the leaderboards.
I did everything according to the tutorials, but i still have a few questions.
Social.localUser.Authenticate(authenticated =>
{
if (!authenticated || !Social.localUser.authenticated)
{
throw new System.Exception();
}
Social.ReportScore((long) (GameObject.FindGameObjectWithTag("Disp").GetComponent<timer>().tmp * 1000), level_key, (bool success) =>
{
if (success)
{
Social.ShowLeaderboardUI();
}
else
{
throw new System.Exception();
}
});
});
- Is there a way to show player not all leaderboards, but the leaderboard of current level?
- By default leaderboards shows results between friends, can i easily switch it to global?