Quantcast
Viewing all articles
Browse latest Browse all 10823

Get user high score from Game Center leaderboard

I want to get the high score of the player on a leaderboard on game center increment it and post it back. (I will use this as a counter for an event). On android I have done this like so:
Code (CSharp):
  1. PlayGamesPlatform.Instance.LoadScores(
  2.              ID,
  3.              LeaderboardStart.PlayerCentered,
  4.              1,
  5.              LeaderboardCollection.Public,
  6.              LeaderboardTimeSpan.AllTime,
  7.          (LeaderboardScoreData data) => {
  8.              Debug.Log(data.Valid);...
Get user high score from Game Center leaderboard

Viewing all articles
Browse latest Browse all 10823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>