Skip to main content

PlayerStatManager

A class in Root.Township, Alta.StatSystem.

The StatManager on players, with a list of stats meant to carry over through death.

Constructors​

MemberWhat it is
PlayerStatManager()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Fields​

1 private and internal field
MemberWhat it is
private StatDefinition[] definitionsToKeepOnDeathStats meant to keep their values when the player dies.

Methods​

1 private and internal method
MemberWhat 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.