docs.unity.cn
    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
    Boolean

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

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, September 20, 2023