Class PropertyUtils
Utility functions for constraints (deprecated).
Namespace: UnityEngine.Animations.Rigging
Syntax
[Obsolete("PropertyUtils is deprecated. Use ConstraintsUtils instead. (UnityUpgradable) -> ConstraintsUtils")]
public static class PropertyUtils
Methods
ConstructConstraintDataPropertyName(String)
Prepends RigConstraint data property to specified property name.
Declaration
[Obsolete("ConstructConstraintDataPropertyName is deprecated. Use ConstraintsUtils.ConstructConstraintDataPropertyName instead.")]
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
[Obsolete("ConstructCustomPropertyName is deprecated. Use ConstraintsUtils.ConstructCustomPropertyName instead.")]
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. |