HudFIrearmOverheatBar MonoBehaviour
Overview
The HudFIrearmOverheatBar behaviour displays a bar showing the current heat of the selected weapon. If the weapon overheats, then it will show a warning. If the selected weapon does not have a FirearmOverheat behaviour attached then this HUD element will be disabled.
Inspector

Properties
| Name | Type | Description |
|---|---|---|
| Bar Rect | RectTransform | The heat bar rect transform. This will be scaled along the x-axis based on the heat. |
| Cooldown Marker Rect | RectTransform | The rect transform of the cooldown marker. The cooldown marker shows the cooling threshold once a weapon has overheated. It will be hidden if the weapon cannot overheat, or if the threshold is 0. |
| Overheated Warning | GameObject | An object that is displayed while the weapon is overheating. |