docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetPropertyValue

    SetPropertyValue<T>(string, T)

    This method can be used to set the property value.

    Declaration
    public bool SetPropertyValue<T>(string propName, T value)
    Parameters
    Type Name Description
    string propName

    Name of the property

    T value

    Value to set

    Returns
    Type Description
    bool

    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)