Third Person Cover Shooter
1.6
|
Takes a relative health from a Character Health component and displays a bar that displays the value. More...
Public Attributes | |
GameObject | Target |
Object whose health is displayed on the health bar. More... | |
float | Value = 1.0f |
Current value of the health bar. More... | |
bool | HideWhenDead = true |
Determines if the health bar is hidden when the target has no health. More... | |
bool | HideWhenNone = false |
Determines if the health bar is hidden when there is no target. More... | |
RectTransform | BackgroundRect |
Link to the object that draws the background of the health bar. More... | |
RectTransform | FillRect |
Link to the object that draws the health bar. More... | |
Text | Name |
Link to the object that will be used to display a character's name. More... | |
Takes a relative health from a Character Health component and displays a bar that displays the value.
RectTransform CoverShooter.HealthBar.BackgroundRect |
Link to the object that draws the background of the health bar.
RectTransform CoverShooter.HealthBar.FillRect |
Link to the object that draws the health bar.
bool CoverShooter.HealthBar.HideWhenDead = true |
Determines if the health bar is hidden when the target has no health.
bool CoverShooter.HealthBar.HideWhenNone = false |
Determines if the health bar is hidden when there is no target.
Text CoverShooter.HealthBar.Name |
Link to the object that will be used to display a character's name.
GameObject CoverShooter.HealthBar.Target |
Object whose health is displayed on the health bar.
float CoverShooter.HealthBar.Value = 1.0f |
Current value of the health bar.