docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method RemoveItem

    RemoveItem(string)

    Removes an entry of the specified InventoryItem by InventoryItemDefintion id.

    Declaration
    public static void RemoveItem(string itemDefinitionId)
    Parameters
    Type Name Description
    string itemDefinitionId

    The Id of the InventoryItemDefinition we are removing.

    RemoveItem(int)

    Removes an entry of the specified InventoryItemefinition by Hash.

    Declaration
    public static void RemoveItem(int itemDefinitionHash)
    Parameters
    Type Name Description
    int itemDefinitionHash

    The Hash of the InventoryItemDefinition to remove.

    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)