文档

​
​

Development

User Acquisition

Monetization

工业

Leaderboards

Unity SDK

Admin API

Client API

Open Unity Dashboard

Leaderboards

此页面不支持所选语言。
LiveOps
​
​
Leaderboards
  • Overview
  • Get started
  • Concepts
  • Tutorials
    • Configuration
    • Unity SDK tutorial
      • Add a new score
      • Get the player's score
      • Get scores
      • Get a range of scores centered around the player
      • Get scores for other players
      • Get scores for a certain tier
      • Get a list of available leaderboard versions
      • Get the player's score from a leaderboard version
      • Get scores from a leaderboard version
      • Get a range of scores centered around the player from a leaderboard version
      • Get scores for other players from a leaderboard version
      • Get scores for a certain tier from a leaderboard version
    • Unity SDK sample
    • Cloud Code samples
  • Reference
  • Privacy and consent
  1. Leaderboards

Unity SDK tutorial

Implement leaderboard functionality in your Unity project using the Software Development Kit.
阅读时间1 分钟
最后更新于 9 个月前

The Leaderboards SDK documentation describes how to use online multiplayer leaderboards in games created with Unity using examples. Learn how to get started with the SDK before using it.

Topic

Description

Add a new scoreAdd or update a score for the player.
Get scoresGet the scores from a specific leaderboard.
Get a range of scores centered around the playerGet the scores of the player as well as those of a specified number of neighboring players.
Get the player's scoreGet the score for the player.
Get scores for other playersGet the scores for other players in the specified leaderboard.
Get scores for a certain tierGet a score for a particular tier.
Get a list of available leaderboard versionsGet a list of archived versions of a leaderboard.
Get scores for other players from a leaderboard versionGet the scores of other players from a leaderboard.
Get the player’s score from a leaderboard versionGet the player's score from a previous version of a leaderboard.
Get a range of scores centered around a player from a leaderboard versionGet get a range of scores centered around a player from an archived leaderboard.
Get scores from a leaderboard versionGet a paginated list of scores from an archived leaderboard.
Get scores for a certain tier from a leaderboard versionGet a score for a particular tier from an archived leaderboard.

Copyright © 2026 Unity Technologies
法律信息隐私政策CookiesDocumentation Terms of Use请勿出售或分享我的个人信息您的隐私选择(Cookie 设置)

“Unity”、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属公司在美国和其他地方的商标或注册商标(此处查看更多信息)。其他名称或品牌是其各自所有者的商标。

为方便起见,一些页面是机器翻译的,可能包含不准确的内容。如有信息不一致的情况,以英文版本为准。


    报告此页面的问题