Core Concepts

Stats Manager

The StatsManager holds a reference to the Database and is responsible for saving and loading stats.

Stats Handler

The StatsHandler holds a collection of predefined stats that an object has. Within the StatsHandler a new instance of the stat will be created and represents the stat of an object to operate on.  

UI Stat

This component displays the stat in UI supporting a stat bar and text values.

Selectable UI Stat

Selectable UI Stat is extended from UI Stat and is responsible to display the stat in UI of the current selected object. Please note that this requires the SelectionHandler component attached to the player.