A class in Root.Township, Alta.StatSystem.
The StatManager on players, with a list of stats meant to carry over through death.
Constructors
| Member | What it is |
|---|
PlayerStatManager() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
1 private and internal field
| Member | What it is |
|---|
private StatDefinition[] definitionsToKeepOnDeath | Stats meant to keep their values when the player dies. |
Methods
1 private and internal method
| Member | What it is |
|---|
private void Load(Stream stream) | Private and not called anywhere in this build. Writes the kept stats into a stream and disposes it. |