My Project
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
HealthBar Class Reference
Inheritance diagram for HealthBar:

Public Member Functions

void UpdateHealth (float health, float defaultHealth, bool alwaysOn)
 
void Show (float damage, bool always=false)
 

Public Attributes

Transform backBar
 
Transform healthBar
 
Transform oldHealthBar
 
Transform overHealthBar
 
float showSecs = 2.0f
 
float deathShowSecs = 0.65f
 
float oldHealthVanishFactor = 0.975f
 
float horizontalScale = 3.0f
 
float maxLength = 2.0f
 
bool scaleByGameplaySettings = false
 
bool alwaysOn
 
float health = 1.0f
 
float defaultHealth = 1.0f
 
float defaultOverHealth = 1.0f
 

The documentation for this class was generated from the following file: