Class PropertyUtils
Utility functions for constraints (deprecated).
Inherited Members
Namespace: UnityEngine.Animations.Rigging
Assembly: Unity.Animation.Rigging.dll
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. |