The Damageable Health bar component will show a health bar for objects that can take damage and die. For example, the damageable objects in Core Content. This component can be added as a child and will look for the damageable object above it.
This can be useful to show the amount of health an object has left for players.
How to use
Drag the Damageable Healthbar template as a child of a damageable object. The component will attempt to find the nearest damageable ancestor.
There are various properties on the root of the template that can be changed.
If true, the container will always face the player.
The offset of the container. Can be used to position this above the object.
The background color of the bar.
The color of the bar.
The width of the bar.
The height of the bar.