Page cover image

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

public TextMeshProUGUI score;

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

Rank

public TextMeshProUGUI rank;

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

Entry

public LeaderboardEntry Entry { get; set; }

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