
Nakama Leaderboards sample project that runs out-of-the-box. Clean, copy-paste friendly code shows you how to implement weekly and global leaderboards in your game.The official sample project for the Nakama Leaderboards system. Built with minimal boilerplate so you can easily copy the code into your project and adapt the scripts and UI to suit your game.📚 Docs💁 Community forums💻 Github🔍 Nakama Unity Client SDK Guide✨ Learn about NakamaFeaturesWeekly and global leaderboardsReal-time score updatesDifferent ways to submit scores (Best, Set, Increment, Decrement)Primary and sub-scores for tie-breakingBuilt-in account switcher for testingCopy-paste friendly codeQuick StartFollow the steps in our documentation here to get started.Important: This project is connected to a managed server hosted by Heroic Labs for demo purposes. While it’s ready to run out of the box, you are advised to set up your own free Nakama server to create custom Leaderboards.About NakamaNakama is a production-ready, open-source game server that powers the backend systems for multiplayer (real-time and async), social features, matchmaking, and more. Since 2015, it has grown into a tried-and-true platform that scales from indie games to AAA titles serving millions of players across mobile, PC, and console.Learn more at heroiclabs.com/nakamaThird-Party NoticesUses Nakama Unity SDK under Apache 2.0 licenseThe UI assets in this project were designed by LayerLab and are available under Creative Commons CC0 1.0 UniversalSee Third-Party Notices.txt for detailsCode ArchitectureSingle main controller script (NakamaLeaderboardsController.cs)Modular record view system for easy customizationDevice-based authentication with persistent user IDsWhat's IncludedC# scripts (controller + record view)UI assets and stylesheetsAccount switcher tool for multi-user testingPlatform SupportAll Unity-supported platformsUse 1920x1080 resolution for optimal displayThis project is connected to a managed server hosted by Heroic Labs for demo purposes. While it’s ready to run out of the box, you are advised to set up your own free Nakama server to create custom Leaderboards.