Page cover

Leaderboard User Entry

Like what your seeing?

Introduction

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.

Fields and Attributes

Leaderboard

public LeaderboardObject leaderboard;

A reference to the leaderboard that should be read.

Score

public TextMeshProUGUI score;

A reference to a TextMesh Pro label where the user's score will be written.

Rank

public TextMeshProUGUI rank;

A reference to a TextMesh Pro lable where the user's rank will be written.

Last updated