Page cover

Leaderboard Entry UI Record

Like what your seeing?

Introduction

A simple implementation of the ILeaderboardEntryDisplay interface.

namespace HeathenEngineering.SteamworksIntegration.UI
public class LeaderboardEntryUIRecord : MonoBehaviour,
                                        ILeaderboardEntryDisplay

Fields and Attributes

Avatar

public SetUserAvatar avatar;

A SetUserAvatar reference which will be used to display this record's owner's avatar.

User Name

public TMProSetUserName userName;

A TMProSetUserName reference which will be used to display this record's owner's name.

Score

A TextMesh Pro label reference that will be used to display the record's owner's score.

Rank

A TextMesh Pro label reference that will be used to display the record's owner's rank.

Entry

From the ILeaderboardEntryDisplay interface and is used by the Leaderboard UI List to set the entry that this object will represent and thus updating all the UI elements.

Last updated