⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    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

    HudFIrearmOverheatBar

    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.

    See Also

    FirearmOverheat Monobehaviour

    Unity UI

    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX