It's not necessary to understand the HUD framework to begin creating HUD elements for your vehicles. You can skip this section if you wish and come back later if you need clarification.

The two core components of the HUD framework are:

  • The HUD Manager

  • The HUD Component

HUD Manager

The HUD Manager 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 represents a component of the vehicle's HUD. 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