🏆Leaderboards
Last updated
Last updated
You need to create a leaderboard on your dashboard before proceeding. Make sure you set up automatic resets and prizes in the dashboard if needed.
Report scores from a user. LevelId
is optional and can be any string to distinguish your levels. You do not need to individually create leaderboards for each level! Passing a LevelId
acts as a filter.
What is a Level? You can use a LevelId
if you want separate leaderboards for separate levels in your game, without having to create multiple leaderboards. Just use the same LevelId
to report the score and show the leaderboard.
This is fully optional.
Configure the leaderboard UI, reset behavior, and more in your dashboard.
The UI doesn't work in the Unity editor! Run on a real device to test.
A player record contains information about their score/rank on a specific leaderboard. If no PlayerId
is passed, the current user is returned.
Get the leaderboard data directly