docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Initialize

    Initialize(string, string)

    Sets up this game item definition with the given info.

    Declaration
    protected virtual void Initialize(string id, string displayName)
    Parameters
    Type Name Description
    string id

    The id this will use.

    string displayName

    The display name this will use.

    Exceptions
    Type Condition
    ArgumentException

    Thrown if invalid values are given.

    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)