AchievementStatDefinition
A class in Root.Township, Alta.Achievements.
Asset for one stat that achievements track; its asset name is its ID.
- Listed in Players and characters
- Inherits or implements
ScriptableObject - Derived types
AchievementStatDefinition.Create - Nested types
Create
Constructors
| Member | What it is |
|---|---|
AchievementStatDefinition() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
1 private and internal field
| Member | What it is |
|---|---|
private StatType type | Backing field for Type. |
Properties
| Member | What it is |
|---|---|
string Identifier { get; } | The asset name, used as the stat ID. |
StatType Type { get; } | The kind of value the stat holds. |
Used in
Members of other types that take, return or hold a AchievementStatDefinition: