In-game head up display for each player. More...
Public Member Functions | |
void | Awake () |
Validates the game state at startup. | |
void | Update () |
Updates the HUD. | |
override void | DrawUI () |
Draws the HUD to the screen. | |
Public Attributes | |
Texture | boostBarTexture |
Texture used for boost bar graphics. | |
Font | titleFont |
Font used for large text. | |
Font | textFont |
Font used for small text. | |
Color | backColor |
Background colour. | |
Texture | countdownTexture |
Texture sheet for countdown. | |
int | countdownCells = 4 |
Number of cells in countdownTexture. | |
AudioSource[] | countdownSounds |
Sounds played on countdown. | |
Texture | placesTexture |
Texture sheet used for player's position in race. | |
Texture | lapsBackdrop |
Backdrop texture for lap counter. | |
Texture | placeBackdrop |
Backdrop texture for race position. |
In-game head up display for each player.
void HUD.Awake | ( | ) |
Validates the game state at startup.
void HUD.Update | ( | ) |
Updates the HUD.
Color HUD.backColor |
Background colour.
Texture HUD.boostBarTexture |
Texture used for boost bar graphics.
int HUD.countdownCells = 4 |
Number of cells in countdownTexture.
AudioSource [] HUD.countdownSounds |
Sounds played on countdown.
Texture HUD.countdownTexture |
Texture sheet for countdown.
Texture HUD.lapsBackdrop |
Backdrop texture for lap counter.
Texture HUD.placeBackdrop |
Backdrop texture for race position.
Texture HUD.placesTexture |
Texture sheet used for player's position in race.
Font HUD.textFont |
Font used for small text.
Font HUD.titleFont |
Font used for large text.