-
Notifications
You must be signed in to change notification settings - Fork 27
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. |
The following is a list of github repositories that made all of this possible:
delta patches: https://github.com/OctopusDeploy/Octodiff
.net 4 implemented in Monodevelop: https://github.com/mono/mono
Tuples In Unity: https://gist.github.com/michaelbartnett/5652076
Octodiff: https://github.com/OctopusDeploy/Octodiff
Input Manager: https://github.com/daemon3000/InputManager