Leaderboard Manager is a FREE local leaderboard system for Unity games.
- Easily create & update leaderboards with a name & score.
- Support for multiple leaderboards.
- Support for TextMeshProGUI.
- Support for showing score as time.
Either download and import the package from the releases section or the Unity Asset Store and use the package manager. Alternatively, download this repo and copy all files into your project.
The asset doesn’t need any setup by you to function. By default there are no leaderboards in the save data. The save will automatically create itself when you first create a leaderboard with the system. The leaderboard save goes to the users computer persistent datapath.
You can port legacy data in editor and setup the porting. In older versions users could save time as a number, this has been updated into a custom class. If used it'll need to ported to a time entry board. The controls to this and the ability to view your current boards can be found under Tools/Carter Games/Leaderboard Manager/Leaderboard Editor
An example setup to port a leaderboard called "Arcade" to a score leaderboard.
LeaderboardManager.CreateLeaderboard("MyBoard", LeaderboardType.Score);
var data = LeaderboardManager.GetLeaderboard("MyBoard");
LeaderboardManager.AddEntryToBoard("MyBoard", new LeaderboardEntryScore("John", 100));
LeaderboardManager.DeleteEntryFromBoard("MyBoard", new LeaderboardEntryScore("John", 100));
LeaderboardManager.Save();
LeaderboardManager.Load();
You can access a online of the documentation here: Online Documentation. A offline copy if provided with the package and asset if needed.
MIT Licence