docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CreateItem

    CreateItem(string, string, Completer)

    Request to create a new item with the given id.

    Declaration
    void CreateItem(string definitionId, string itemId, Completer completer)
    Parameters
    Type Name Description
    string definitionId

    Id of the definition used to create the item.

    string itemId

    Id to give to the created item.

    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)