Comment on page
Leaderboard User Entry
Support us as a GitHub Sponsor and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude.
These articles are made possible by our GitHub Sponsors ... become a sponsor today!
Reads the user's record from the referenced LeaderboardObject and populates a TextMesh Pro label with the rank and score.
This will update as the user's score is updated keeping it up to date with any changes made.
public LeaderboardObject leaderboard;
A reference to the leaderboard that should be read.
public TextMeshProUGUI score;
A reference to a TextMesh Pro label where the user's score will be written.
public TextMeshProUGUI rank;
A reference to a TextMesh Pro lable where the user's rank will be written.
Last modified 1mo ago