lbm-display-01.webp

The leaderboard display is a component to display the entries of a board at runtime. This is designed as a basic setup. If you need more advanced control, it’ll be easier to make you own solution to display the entries.

Leaderboard


Variable Description
Board Id The string id of the board you want to display. This can be set at runtime.
Display Option The method the board should display as.

Display Setup


Variable Description
Board Parent The parent gameObject for the rows to spawn under.
Row Prefab The prefab to spawn for each row of the leaderboard.
Entries To Show The number of entries to show. Only applies on certain display options, the field will appear disabled on invalid options.
Start At The entry position to start showing at entries from, from the display option selected.

Display Customisation


Variable Description
Show Position Defines if the position field is used on the entry display or not.
Position Prefix The prefix before the position number on the entry display. Only used is Show Position is true.
Time Format (Time Display Only) The format the time score value should show as.