Skip to content

Scripts.UIHealthBarManager

Wesley Haws edited this page Jan 2, 2017 · 2 revisions

##Scripts - UIHealthBarManager

###What does this do?


This updates the "red" and "yellow" UI images based on the player's health.

###Who/What is this for?


This is for the GUI > Healthbar > Mask > RedBar gameobject only.

###Setup


Parameter Type Description
Player GameObject For Debugging only. Don't place anything here. This displays the found player.
Red Bar GameObject GameObject that holds the "Red" part of your UI healthbar.
Yellow Bar GameObject GameObject that holds the "Yellow" part of your UI healthbar.
Percent Text GameObject The gameobject that holds the UIText element that displays the health percentage.
Clone this wiki locally