CrippleStatDefinition
A class in Root.Township, the global namespace.
Stat definition for cripple-style stats that move back by a fixed amount every stat manager update.
- Listed in Global namespace: C to D
- Inherits or implements
StatDefinition - Derived types
CrippleStatDefinition.Create - Nested types
Create - Documented in Stats
Constructors
| Member | What it is |
|---|---|
CrippleStatDefinition() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
2 private and internal fields
Methods
| Member | What it is |
|---|---|
override void Applied(StatManager manager, Stat stat) | Hooks the manager's update to regen the stat up to its maximum, or with isBuildup to drain it. |
Used in
Members of other types that take, return or hold a CrippleStatDefinition: