docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Create

    Create(string, string)

    This creates a new InventoryDefinition.

    Declaration
    public static InventoryDefinition Create(string id, string displayName)
    Parameters
    Type Name Description
    string id

    The Id of this InventoryDefinition.

    string displayName

    The name this InventoryDefinition will have.

    Returns
    Type Description
    InventoryDefinition

    Reference to the InventoryDefinition that was created.

    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)