public void ReportScore(long score, string leaderBoardID)
{
if (Social.localUser.authenticated)
{
Debug.Log("Reporting score " + score + " on leaderboard " + leaderBoardID);
Social.ReportScore(score, leaderBoardID, success =>
{
Debug.Log(success ? "Reported score successfully" : "Failed to report score");
});
}
}
public bool AddAchievementProgress(string achievementID, float percentageToAdd)