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 key and id.

    Declaration
    void CreateItem(string key, string id, Completer completer)
    Parameters
    Type Name Description
    string key

    Identifier of the definition used to create the item.

    string id

    Identifier 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)