docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor InventoryItemSerializableData

    InventoryItemSerializableData(string, string)

    Basic constructor that takes in the inventory item definition Id of the item and the quantity it have in this inventory.

    Declaration
    public InventoryItemSerializableData(string definitionId, string id)
    Parameters
    Type Name Description
    string definitionId

    The definition Id of the inventory item

    string id

    The id of the item

    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)