4 Leaderboards
Available in the Steamworks Complete asset.

Introduction

This scene demonstrates the use of Steam Leaderboard for setting and reading leaderboards at run time.

What do I learn?

  1. 1.
    How to use the Leaderboard Manager
  2. 2.
    How to use the Leaderboard Object
  3. 3.
    How to set the local user's score for a Leaderboard
  4. 4.
    How to read the local user's score for a Leaderboard
  5. 5.
    How to query entries of other users from a Leaderboard
  6. 6.
    How to access the Knowledge Base (where you are now)
  7. 7.
    How to access the support Discord
  8. 8.
    How to leave a review 😉

Objects

Manager

The manage game object has the Steamworks Behaviour component attached and will handle initialization of the Steam API on start up.
A Leaderboard Manager component is attached and configured to use the Feet Traveled Leaderboard Object.

Feet Traveled

From Example Steam Settings as [LdrBrd] Feet Traveled this is used to update the leaderboard score and rank

DEMO SCRIPTS

This contains internal demo scripts used in the scene which are all marked as deprecated. They simply drive the buttons in the menu nothing more.
The demo script works with the Leaderboard Manager to upload scores and to handle query results in order to populate the result UI