Class HighScoreTableCell
Used to represent a single column within a highscore table row. This MonoBehaviour should be placed on a high-score table cell prefab. This script is already included in the provided highscore table cell prefab in PlayURPlugin/HighScores.
Namespace: PlayUR
Assembly: PlayUR.dll
Syntax
public class HighScoreTableCell : MonoBehaviour
Fields
| Improve this Doc View SourceinputField
Declaration
[Tooltip("Optional, only for editable rows")]
public InputFieldOrTMP inputField
Field Value
Type | Description |
---|---|
InputFieldOrTMP |
textField
What text field should be used to display the text of this cell?
Declaration
public TextOrTMP textField
Field Value
Type | Description |
---|---|
TextOrTMP |
Methods
| Improve this Doc View SourceCreateCell(string, LeaderboardConfiguration, bool, bool)
Used internally by PlayUR.
Declaration
public virtual void CreateCell(string text, PlayURPlugin.LeaderboardConfiguration configuration, bool nameEntry = false, bool isValue = false)
Parameters
Type | Name | Description |
---|---|---|
string | text | |
PlayURPlugin.LeaderboardConfiguration | configuration | |
bool | nameEntry | |
bool | isValue |