docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetInventory

    GetInventory(string)

    Return the data of the Inventory using the specified definition id

    Declaration
    public InventorySerializableData GetInventory(string definitionId)
    Parameters
    Type Name Description
    string definitionId

    The definition id of the Inventory we want.

    Returns
    Type Description
    InventorySerializableData

    The data of the Inventory with the requested Id.

    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)