Posted September 07, 2023 by Danial Jumagaliyev
This update includes some quality of life features, bringing in new additions that have been requested by the community!
LeaderboardCreator.GetPersonalEntry(string publicKey, Action<Entry> callback);
When installing the new package, you may see a new menu on the toolbar.
Here you can add your leaderboards that you may be using in your game. To add a leaderboard, you must enter the name, public key and secret key of the leaderboard.
Some developers have been losing their secret keys due to not saving them, so this new addition should prevent that from happening and allows developers to easily save the leaderboard keys locally.
This new update adds a more convenient way of dealing with multiple leaderboards - you can generate a C# script of your leaderboards. Leaderboard references are created automatically when pressing the "Save to C# Script" button.
This allows, for example, this:
LeaderboardCreator.GetLeaderboard("980324f10e2f03fc0fd6a38a70f88123919a6aed35a4aea86211ad58b68db9c4", ...);
To be written as this instead:
Leaderboards.DemoSceneLeaderboard.GetEntries(...);
Note that it is not important to changeover to using this new technique, it is just an alternative way of working with the leaderboards. The demo scene has been updated to reflect the usage of the new methods.
You could now also access the link to the web app website directly from this new editor window by pressing "Manage Leaderboards"