Social.ReportScore

static function ReportScore (score : Int64, board : String, callback : System.Action<bool>) : void

Description

Report a score to a specific leaderboard.

void ReportScore (long score, string leaderboardID) {
Debug.Log ("Reporting score " + score + " on leaderboard " + leaderboardID);
Social.ReportScore (score, leaderboardID, success => {
Debug.Log(success ? "Reported score successfully" : "Failed to report score");
});
}