docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetTrackedProperty

    GetTrackedProperty<T>(string, bool)

    Return the tracked property for the property path.

    Declaration
    public T GetTrackedProperty<T>(string propertyPath, bool create = true) where T : ITrackedProperty, new()
    Parameters
    Type Name Description
    string propertyPath

    The serialized property path.

    bool create

    Specify whether to create a property if no existing property is found.

    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    GetTrackedProperty(string)

    Return the tracked property for the property path.

    Declaration
    public virtual ITrackedProperty GetTrackedProperty(string propertyPath)
    Parameters
    Type Name Description
    string propertyPath

    The serialized property path.

    Returns
    Type Description
    ITrackedProperty
    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)