My goal is to extract usernames and scores from a leaderboard, but I’ve only been able to find examples of how to get usernames from the local user’s friends like this:
for (int i=0; i < Social.localUser.friends.Length; i++)
{
if (score.userID == Social.localUser.friends[i].id)
{
curUserName = Social.localUser.friends[i].userName;
}
}
So, I need a way to get usernames for those userIDs who are not friends of the local user. Any help?