Viveport.Leaderboard 类
public class Leaderboard
{
public int Rank { get; set; }
public int Score { get; set; }
public string UserName { get; set; }
}
| 参数 | 类型 | 描述 |
| Rank | int | 排行榜上的排名 |
| Score | int | 得分为整数 |
| UserName | string | 最终用户显示在其个人资料中的名字 |
此类是
GetLeaderboardScore()
的返回类型,通常通过索引获取多个排行榜。