Vehicle Setup
To begin setting up your vehicle HUD:
Add a HUD Manager component to the root transform of the vehicle.
Customize the settings in the inspector
HUD Activation
By default the HUD is not activated at the start, so that the HUDs of all the vehicles don't appear on the screen at once.
The best way to make sure that only the player vehicle's HUD is activated is to:
Go to the Player object and add a Game State HUD Enabler component
Set all the game states for which you want the HUD to be active
You can also toggle the activation of the HUD on any vehicle by grabbing its HUD Manager and using the following code:
Last updated