Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 703 Bytes

File metadata and controls

28 lines (21 loc) · 703 Bytes

HealthComponent

Purpose: See Inspector fields below for configuration.

Setup

  • Add the component via the Unity menu.

Key Fields (Inspector)

Field Description
HpCurrentValue Hp Current Value.
HpMaxValue Hp Max Value.
HpPercentValue Hp Percent Value.
ManaCurrentValue Mana Current Value.
ManaMaxValue Mana Max Value.
ManaPercentValue Mana Percent Value.
OnPoolsChanged On Pools Changed.
_loadOnAwake Load On Awake.
_onPoolsChanged On Pools Changed.
_saveKey Save Key.
restoreOnAwake Restore On Awake.
true True.

See Also