docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method DeleteItem

    DeleteItem(string, string, Completer)

    Request to delete the item matching the given definition from the given inventory.

    Declaration
    void DeleteItem(string inventoryId, string itemDefinitionId, Completer completer)
    Parameters
    Type Name Description
    string inventoryId

    The id of the inventory to update.

    string itemDefinitionId

    The id of the definition of the item we want to delete.

    Completer completer

    The handle to settle the promise with.

    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)