docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct OutputItem

    Represents a single item type and quantity to give for a payout.

    Namespace: UnityEngine.GameFoundation
    Assembly: solution.dll
    Syntax
    public struct OutputItem

    Constructors

    Name Description
    OutputItem(string, int, string)

    Standard constructor for an output item, takes an id, quantity, and optional destination inventory.

    OutputItem(OutputItem)

    Constructor for creating a clone with the same information as another OutputItem.

    Properties

    Name Description
    destinationInventoryId

    Returns the id of the destination inventory to dispense items into

    id

    The id of the inventory item used in this output item.

    quantity

    Get the payout quantity.

    Methods

    Name Description
    ToString()

    Outputs all main data of the output item into a single string. TODO: Definitely may want to improve this formatting once we're ready to release this.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)