MyDungeon Documentation
![]() | HealthDisplay Class |
HealthDisplay is the class that manages updating the current health display in the HUD

Namespace: MyDungeon.UI.Hud
Assembly: Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0

C#
public class HealthDisplay : MonoBehaviour
The HealthDisplay type exposes the following members.

Name | Description | |
---|---|---|
![]() | HealthDisplay | Initializes a new instance of the HealthDisplay class |

Name | Description | |
---|---|---|
![]() | Start |
Finds the UI Text object that displays the current health in the HUD
|
![]() | UpdateHealth |
Updates the health displayed in the HUD and adds padding if the health is less than 3 digits
|

Name | Description | |
---|---|---|
![]() | HealthText |
The UI Text object displaying the current floor
|

Name | Description | |
---|---|---|
![]() | Invoke |
Invoke using a delegate
(Defined by MonoBehaviourExtensions.) |
