diff --git a/Packages/dev.hai-vr.animator-as-code.v1/V1/Editor/AacFlAnimations.cs b/Packages/dev.hai-vr.animator-as-code.v1/V1/Editor/AacFlAnimations.cs index 8d7c3c9..3e17251 100644 --- a/Packages/dev.hai-vr.animator-as-code.v1/V1/Editor/AacFlAnimations.cs +++ b/Packages/dev.hai-vr.animator-as-code.v1/V1/Editor/AacFlAnimations.cs @@ -614,7 +614,16 @@ namespace AnimatorAsCode.V1 } } - public void WithKeyframes(AacFlUnit unit, Action action) // FIXME: Should this be renamed? + /// Obsolete. Use `WithUnit()` instead.
+ /// Start defining the keyframes with a lambda expression, expressing the unit. + [Obsolete("This function was renamed to WithUnit(...)")] + public void WithKeyframes(AacFlUnit unit, Action action) + { + WithUnit(unit, action); + } + + /// Start defining the keyframes with a lambda expression, expressing the unit. + public void WithUnit(AacFlUnit unit, Action action) { var mutatedKeyframesR = new List(); var mutatedKeyframesG = new List();