docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetDefaultProperty

    GetDefaultProperty(string)

    Get the default value of the property with the given propertyKey.

    Declaration
    public Property GetDefaultProperty(string propertyKey)
    Parameters
    Type Name Description
    string propertyKey

    Identifier of the property to get the value of.

    Returns
    Type Description
    Property

    The default value of the property with the given propertyKey.

    Exceptions
    Type Condition
    ArgumentException

    Thrown if the given propertyKey is null, empty, or whitespace.

    PropertyNotFoundException

    Thrown if there is no property with the given propertyKey in this item.

    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)