Hi there!
I made this script to post the score to my leaderboard, but for some reason the leaderboard UI opens but it says "No one in your circles has played (my project)". Why isn't the score posting?
using UnityEngine;
using System.Collections;
using GooglePlayGames;
using UnityEngine.SocialPlatforms;
public class PlayGames: MonoBehaviour {
// Use this for initialization
void Start ()
{
Social.localUser.Authenticate((bool success) => {
// handle success or failure
});
Social.ReportScore (54321, "CgXXXX3m-XXXXAI", (bool success) => {
});
Social.ShowLeaderboardUI();
}
}
Leaderboard ID partially hidden (so no one posts fake scores). Thank you so much!
↧