In this tutorial, you’ll discover how to use PubNub to power leaderboard and chat in a Unity game.

Choose an SDK to get started in your preferred language:
Your app will include:

PubNub makes it easy to empower your Unity gaming applications with real-time leaderboard updates and in-app messaging.

Your app will include:

  • Publish: Update users in real-time when publish high-scores and sending messages.

  • Subscribe: Listen for leaderboard and in-app chat updates.

  • Presence: Get currently present users and listen to new presence events.

  • Message Persistence: Store previous chat messages

  • Functions: Sort the Leaderboard based on scores and store this information on the PubNub Network.