文档

Development

User Acquisition

Monetization

工业

Leaderboards

Unity SDK tutorial

Open Unity Dashboard

Leaderboards

LiveOps
​
​
Leaderboards
  • Overview
  • Get started
  • Concepts
  • Tutorials
  • Reference
  • Privacy and consent

Leaderboards

Understand the core concepts and implementation options for Leaderboards, a gaming service that ranks and stores player scores.
阅读时间2 分钟
最后更新于 8 个月前

Leaderboards 是 Unity Gaming Services(Unity 游戏服务)的一项功能,支持对玩家分数进行存储、排序和排名。

主题

描述

开始使用了解如何针对 Leaderboards 设置项目。
SDK 示例使用示例来了解如何在 Unity 项目中实施 Leaderboards。
SDK 文档熟悉 Leaderboards SDK,以便在 Unity 项目中使用在线多玩家排行榜。

接口

可以使用以下接口与 Leaderboards 进行交互并将其实施到您的应用程序中。
  • 使用 Dashboard(后台)创建和管理排行榜并查看条目。
  • 使用 REST API 为非 MWU (Made with Unity) 游戏实施 Leaderboards。
    • 使用客户端 REST API 执行玩家操作。
    • 使用 Admin REST API.执行管理员操作。
  • 使用 CLI 调用 Leaderboards 服务。
  • 使用 Unity SDK 在应用程序中实施 Leaderboards。
  • 使用 Cloud Code 服务实施 Leaderboards 功能。
  • 支持在命令行界面 (CLI) 进行部署。
    • 允许使用文件而不是后台 UI 来配置 Leaderboards。
    • 将这些文件包含在版本控制中,并尽可能地减少后台上下文切换。

结果

结果

描述

所用服务

Display player names in Leaderboards
Retrieve player names using the Authentication service and display them in your Leaderboards.
  • Authentication
  • Leaderboards
Display Leaderboards in Lobby menus
Implement Leaderboards in Lobby menus to let players compare themselves against each other.
  • Authentication
  • Leaderboards
  • Lobby
Compare scores with Friends
Let players view Leaderboards for their friends and compare against each other.
  • Authentication
  • Friends
  • Leaderboards

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

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

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

  • 在本页上
    • 接口

    • 结果


报告此页面的问题
​
​