LeaderboardDefinition
A class in Root.Township, the global namespace.
Asset for a leaderboard (a course), with its size and whether lower scores are better.
- Listed in Global namespace: I to L
- Inherits or implements
HashedGeneralValue<LeaderboardDefinition> - Derived types
LeaderboardDefinition - Attributes
CreateAssetMenu
Constructors
| Member | What it is |
|---|---|
LeaderboardDefinition() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
3 private and internal fields
Properties
| Member | What it is |
|---|---|
string CourseName { get; } | Course name shown for the leaderboard. |
Methods
| Member | What it is |
|---|---|
LeaderboardDefinitionData GetData() | A LeaderboardDefinitionData with this definition, its hash, name, size and lowest-is-best flag. |
Used in
Members of other types that take, return or hold a LeaderboardDefinition: