docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetProperty

    GetProperty<T>(string)

    This method can be used to retrieve the property object by name.

    Declaration
    public Property<T> GetProperty<T>(string propName)
    Parameters
    Type Name Description
    string propName

    Name of the property

    Returns
    Type Description
    Property<T>

    The property of type Property{T} if propName exists, null otherwise.

    Type Parameters
    Name Description
    T

    Type of the property

    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)