Player HUD
Found at Content/SteamPartyMenu/Blueprints/Components/BPC_PlayerHUD.uasset.
A small component that manages the in-match HUD widgets. Attach it to your game player controller (it is not needed in the menu level).
It implements BPI_HudManagerInterface, so any actor or widget can reach it through the interface (or via Get HUD Manager from BP_HUD_Library) without a hard reference.
Responsibilities
- Creates and holds the
WB_PlayerHUDwidget (PlayerHUDvariable). - Manages the crosshair widget (
WB_Crosshair) through the interface functions:
| Function | Description |
|---|---|
HasValidCrosshair? | Returns whether a crosshair widget currently exists. |
GetCrosshair | Returns the current crosshair widget reference. |
AddCrosshair | Creates/shows the crosshair. |
RemoveCrosshair | Removes the crosshair from screen. |
Extending
To add your own HUD elements (health bar, ammo counter, etc.), extend WB_PlayerHUD or add functions to this component and expose them through BPI_HudManagerInterface so gameplay code stays decoupled from your controller class.