HealthDisplay.UpdateHealth Method

MyDungeon

HealthDisplayUpdateHealth Method

Updates the health displayed in the HUD and adds padding if the health is less than 3 digits

Namespace:  MyDungeon.UI.Hud
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public virtual void UpdateHealth(
	int curHealth,
	int maxHealth
)

Parameters

curHealth
Type: SystemInt32
The current health value
maxHealth
Type: SystemInt32
The max health value
See Also