Leadboard and cloud save setup
1. Link the Unity Project
Open the Unity Dashboard: https://dashboard.unity3d.com
Select or create your project.
In Unity Editor, open:
Edit → Project Settings → ServicesSelect
Use an existing Unity project ID.Choose your organization and Unity project.
2. Set Up Leaderboards
In the Unity Dashboard, open
Leaderboards.Create a leaderboard with these settings:
Leaderboard ID:
global_leaderboardSort Order:
DescendingUpdate Type:
Keep BestorKeep Latest
The leaderboard ID must match the value in LeaderboardSettings.
3. Set Up Cloud Save
In the Unity Dashboard, open
Cloud Save.Click
Set up Cloud Save.Enable the service.
4. Set Up Cloud Code for Gifts
Go to https://cloud.unity.com/ and open Cloud Code
Add SendGift.js to the cloud code
Add parameters:
receiverId as string
senderId as string
senderName as string
Add ClaimGift.js to the cloud code
Add parameters:
giftId as string
Last updated