⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    HudInventoryItemCounter MonoBehaviour

    Overview

    The HudInventoryItemCounter behaviour displays a simple text counter showing the quantity of a specific item in the player character's inventory.

    Inspector

    HudInventoryItemCounter

    Properties

    Name Type Description
    Counter Text Text The UI text element to output the quantity to.
    Format Dropdown How to format the quantity. Available options are: Quantity prints the number of items, but hides itself when at 0; QuantityAlwaysVisible prints the number of items, including at 0; QuantityOfMaximum prints the stored number and maximum, eg. 1/10; Percent displays the quantity as a percentage of the maximum.

    See Also

    Inventory

    Unity UI

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