Skip to main content

AchievementStatDefinition

A class in Root.Township, Alta.Achievements.

Asset for one stat that achievements track; its asset name is its ID.

Constructors​

MemberWhat it is
AchievementStatDefinition()Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets.

Fields​

1 private and internal field
MemberWhat it is
private StatType typeBacking field for Type.

Properties​

MemberWhat 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: