docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method TryGetBindingPaths

    TryGetBindingPaths(Type, string, out string[])

    Retrieves individual property paths from a given component type. For vector type fields like float4 or int4, this will retrieve all sub components.

    Declaration
    public static bool TryGetBindingPaths(Type type, string fieldName, out string[] resultingPaths)
    Parameters
    Type Name Description
    Type type

    Type of authoring or runtime component.

    string fieldName

    Field name.

    string[] resultingPaths

    Array of supported fields for fieldName.

    Returns
    Type Description
    bool

    Returns true if specified field property is supported by the BindingRegistry. False otherwise.

    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)