⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    FpsInventoryItem MonoBehaviour

    Overview

    The FpsInventoryItem behaviour is an object that can be stored in a character inventory.

    Inspector

    FpsInventoryItem

    Properties

    Name Type Description
    Inventory ID ID Picker The item key for this object (from the inventory database).
    Quantity Int The quantity of items in the stack.
    Max Quantity Int The maximum amount of this item that the inventory can contain.
    On Add To Inventory UnityEvent An event that is invoked when the object is first added to the character inventory.
    On Remove From Inventory UnityEvent An event that is invoked when the object is completely removed from the character inventory.
    On Quantity Change UnityEvent An event that is invoked when the quantity of objects in the stack changes.

    See Also

    Inventories

    Unity Events

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