Live demo

PubNub Prix: A live leaderboard and lobby chat for a Unity game

Try these · any order

Done: 0/4
  • To do: Enter your username

  • To do: Start Racing!

  • To do: Submit your time

  • To do: Send the lobby chat

Build it yourself

Make your own PubNub Prix

Follow the tutorial to see how the leaderboard and lobby chat are built, or clone the game and open it in Unity.

Tutorial

Add a live leaderboard and lobby chat to a Unity game

Set up your keyset and the leaderboard Function, then learn how the game submits times, updates the board, and runs the lobby chat.

GitHub

PubNubDevelopers/unity-karting-game

The complete Unity project. Check out the leaderboard-chat branch, add your publish and subscribe keys to GameConstants.cs, set up the leaderboard Function from the README, then build and run.

git clone https://github.com/PubNubDevelopers/unity-karting-game.git
View on GitHub