Third Person Cover Shooter  1.6
CoverShooter.StaminaBar Class Reference

Manages the display of a character's stamina. More...

Inheritance diagram for CoverShooter.StaminaBar:

Public Attributes

GameObject Target
 Object whose stamina is displayed on the stamina bar. More...
 
float Value = 1.0f
 Current value of the stamina bar. More...
 
bool HideWhenDead = true
 Determines if the stamina bar is hidden when the target has no stamina. More...
 
bool HideWhenNone = false
 Determines if the stamina bar is hidden when there is no target. More...
 
RectTransform BackgroundRect
 Link to the object that draws the background of the stamina bar. More...
 
RectTransform FillRect
 Link to the object that draws the stamina bar. More...
 
Text Name
 Link to the object that will be used to display a character's name. More...
 

Detailed Description

Manages the display of a character's stamina.

Member Data Documentation

◆ BackgroundRect

RectTransform CoverShooter.StaminaBar.BackgroundRect

Link to the object that draws the background of the stamina bar.

◆ FillRect

RectTransform CoverShooter.StaminaBar.FillRect

Link to the object that draws the stamina bar.

◆ HideWhenDead

bool CoverShooter.StaminaBar.HideWhenDead = true

Determines if the stamina bar is hidden when the target has no stamina.

◆ HideWhenNone

bool CoverShooter.StaminaBar.HideWhenNone = false

Determines if the stamina bar is hidden when there is no target.

◆ Name

Text CoverShooter.StaminaBar.Name

Link to the object that will be used to display a character's name.

◆ Target

GameObject CoverShooter.StaminaBar.Target

Object whose stamina is displayed on the stamina bar.

◆ Value

float CoverShooter.StaminaBar.Value = 1.0f

Current value of the stamina bar.


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