HUD Basics
The two core components of the HUD framework are:
The HUD Manager
The HUD Component
HUD Manager
The HUD Manager component goes on the root transform of the vehicle and manages the entire vehicle HUD. It can activate/deactivate all the HUD components on the vehicle, and passes common information to all the HUD components (such as a reference to the HUD camera when a camera follows the vehicle).
HUD Component
The HUD Component component represents one specific component of the vehicle's HUD, and enables the HUD Manager to activate or deactivate it when the HUD is toggled.
It can be used as a base class to create your own HUD components, or used directly on a game object to mark it as part of the HUD.
Last updated