docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor DefaultCollectionDefinition

    DefaultCollectionDefinition(string, string, int)

    Constructor for setting up the id, display name, and the hash.

    Declaration
    public DefaultCollectionDefinition(string id, string displayName, int baseCollectionDefinitionHash)
    Parameters
    Type Name Description
    string id

    The id this will use.

    string displayName

    The display name this will use.

    int baseCollectionDefinitionHash

    The hash this will use.

    Exceptions
    Type Condition
    ArgumentException

    Thrown if the given id is invalid.

    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)