⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    ConsumeInventoryItemToolAction MonoBehaviour

    Overview

    The ConsumeInventoryItemToolAction behaviour is used to add the effect of using an inventory item to a wieldable tool either on start or end, or continuously over time.

    Inspector

    ConsumeInventoryItemToolAction

    Properties

    Name Type Description
    Timing Dropdown When should the item be consumed.
    Item Key ID Picker The inventory ID of the object to consume. Clicking this button will open the inventory database item picker.
    Consume Amount Integer How many of the item should be consumed when triggered or ticked.
    Consume Interval Integer The items should be consumed every nth fixed update frame in continuous mode.
    Instant Boolean Should the item be consumed on the first frame of the continuous action, or should it wait for the first interval to elapse.

    See Also

    Wieldable Tools

    Inventory

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