The Player Health component will show a health bar and health number in the UI so the player can see how much health they have left. This is useful for games when health management is important. A player Knowing their health helps them be more cautious and strategic.
How to use
Drag the Player Health template into the Hierarchy. The component comes with a heal and damage pad that can be used to test the health bar. These can be removed by deleting the group Heal / Damage Demo.
There are various properties on the root of the template that can be changed.
The color of the bar background.
The color of the bar.
The width of the bar.
The height of the bar.
The UI offset for X and Y.
If enabled, then the health amount will show in the bar.