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

Classes

struct  Colors
 

Public Member Functions

void Notify (string text, Color color, float secs=0.0f)
 
void Status (string text)
 
void Powerup (string text, float duration=0.0f)
 
void Powerup (string text, float duration, Color color)
 
void PowerupCancel ()
 
void SetCursorText (string text, Color color, int fontSize)
 
void SetCursorText (string text)
 
void SetDirection (float dir, float duration=0.0f)
 

Static Public Member Functions

static Color GetColor (float value, float max, Colors colors)
 

Public Attributes

TMP_Text health
 
Image healthIcon
 
Colors healthColors
 
Slider healthSlider
 
Image healthSliderFill
 
TMP_Text jets
 
Image jetsIcon
 
Colors jetsColors
 
TMP_Text ammo
 
Image ammoIcon
 
Colors ammoColors
 
Slider ammoSlider
 
Image ammoSliderFill
 
TMP_Text grenades
 
Image grenadesIcon
 
Colors grenadesColors
 
Slider grenadesSlider
 
Image grenadesSliderFill
 
TMP_Text notifier
 
float defaultNotifySecs = 2.5f
 
RectTransform notifierShadow
 
TMP_Text status
 
RectTransform statusShadow
 
TMP_Text powerup
 
float powerupBlinkRate = 2.5f
 
RectTransform powerupShadow
 
GameObject direction
 
Color defaultNotifierColor
 
UIFollow keyIndicator
 
RectTransform cursorText
 
TMP_Text cursorTextText
 
float scale = 1f
 
RectTransform scaleAmmo
 
RectTransform scaleHealth
 
RectTransform scaleStatus
 
GameObject[] hudOffObjects
 

Static Public Attributes

static HUD Get
 
static bool disableHUD = false
 

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