docs.unity.cn
    Show / Hide Table of Contents

    Class PropertyUtils

    Utility functions for constraints (deprecated).

    Inheritance
    Object
    PropertyUtils
    Namespace: UnityEngine.Animations.Rigging
    Syntax
    public static class PropertyUtils : object

    Methods

    ConstructConstraintDataPropertyName(String)

    Prepends RigConstraint data property to specified property name.

    Declaration
    public static string ConstructConstraintDataPropertyName(string property)
    Parameters
    Type Name Description
    String property

    Property name.

    Returns
    Type Description
    String

    Return a complete property name.

    ConstructCustomPropertyName(Component, String)

    Builds a unique property name for a custom property.

    Declaration
    public static string ConstructCustomPropertyName(Component component, string property)
    Parameters
    Type Name Description
    Component component

    Associated component.

    String property

    Property name.

    Returns
    Type Description
    String

    Returns a custom property name.

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Tuesday, August 24, 2021