docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Create

    Create(string, string)

    Creates a new GameItemDefinition by Id and displayName.

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

    The Id this GameItemDefinition will use.

    string displayName

    The display name this GameItemDefinition will use.

    Returns
    Type Description
    GameItemDefinition

    The newly created GameItemDefinition.

    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)