For the complete documentation index, see llms.txt. This page is also available as Markdown.

Leadboard and cloud save setup

  1. Open the Unity Dashboard: https://dashboard.unity3d.com

  2. Select or create your project.

  3. In Unity Editor, open: Edit → Project Settings → Services

  4. Select Use an existing Unity project ID.

  5. Choose your organization and Unity project.

2. Set Up Leaderboards

  1. In the Unity Dashboard, open Leaderboards.

  2. Create a leaderboard with these settings:

    • Leaderboard ID: global_leaderboard

    • Sort Order: Descending

    • Update Type: Keep Best or Keep Latest

The leaderboard ID must match the value in LeaderboardSettings.

3. Set Up Cloud Save

  1. In the Unity Dashboard, open Cloud Save.

  2. Click Set up Cloud Save.

  3. Enable the service.

4. Set Up Cloud Code for Gifts

  1. Go to https://cloud.unity.com/ and open Cloud Code

  2. Add SendGift.js to the cloud code

  3. Add parameters:

    1. receiverId as string

    2. senderId as string

    3. senderName as string

  4. Add ClaimGift.js to the cloud code

  5. Add parameters:

    1. giftId as string

Last updated