文档

​
​

Development

User Acquisition

Monetization

工业

Cloud Code

Scripting API

Services C# SDKs

Services JavaScript SDKs

Admin REST API

Client REST API

Scheduler Admin REST API

Observability REST API

Open Unity Dashboard

Cloud Code

此页面不支持所选语言。
LiveOps
​
​
Cloud Code
  • Overview
  • Get started
  • Server authority
  • Cloud Code C# modules
  • Cloud Code JavaScript scripts
  • Logging
  • Use-case samples
  • Privacy and consent
  1. Cloud Code

Use-case samples

Explore use-case samples that demonstrate how to use Cloud Code with other Unity services to implement common game development solutions.
阅读时间1 分钟
最后更新于 3 个月前

The following use-case samples demonstrate how to combine Cloud Code with other Unity services to implement common game development solutions.

Sample

Description

Reward top players with in-game currency at the end of seasonReward your top players with in-game currency at the end of a season using Triggers. Uses Leaderboards and Economy.
Initialize newly signed-up players with default configuration valuesInitialize new players with default values in Cloud Save when they first sign up. Uses Authentication and Cloud Save.
Send a push message to the player whose score was beatenSend a push message to a player whose leaderboard score was beaten by another player. Uses Leaderboards.
Announce a level up to all players in joined lobbiesAnnounce a player's level up to all other players in joined lobbies through a push message. Uses Cloud Save and Lobby.
Tune game difficulty level for individual playerTune game difficulty level for individual players based on their progress and skill level. Uses Cloud Save, Leaderboards, and Authentication.
Advance a community goalEnable players to contribute to a collective goal that other players help advance. Uses Cloud Save.

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

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

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

  • 其他资源
  • UGS use cases sample project

报告此页面的问题