I have this piece of code tied to Apple's GameCenter:
Social.LoadScores("HighScore", scores => {
if (scores.Length > 0) {
Debug.Log("HIGHSCORE: " + int.Parse(scores[0].formattedValue));
}
});
I'm wondering why scores[] is a list of values. I can only test with one user so would scores[] be a list of ALL scores on GameCenter? I only need the localUser score!
↧