From c607eb938d63e5b97f33ee84db1e33a4c513d58f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ha=C3=AF=7E?= Date: Mon, 1 Jul 2024 21:33:00 +0200 Subject: [PATCH] Fix AacFlState.WithCycleOffset(AacFlFloatParameter floatParam) now correctly enables the parameter --- .../dev.hai-vr.animator-as-code.v1/V1/Editor/AacFlStates.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packages/dev.hai-vr.animator-as-code.v1/V1/Editor/AacFlStates.cs b/Packages/dev.hai-vr.animator-as-code.v1/V1/Editor/AacFlStates.cs index 6dc2b2e..59ce1fd 100644 --- a/Packages/dev.hai-vr.animator-as-code.v1/V1/Editor/AacFlStates.cs +++ b/Packages/dev.hai-vr.animator-as-code.v1/V1/Editor/AacFlStates.cs @@ -459,7 +459,7 @@ namespace AnimatorAsCode.V1 /// Set the Cycle Offset to a parameter. public AacFlState WithCycleOffset(AacFlFloatParameter floatParam) { - State.cycleOffsetParameterActive = false; + State.cycleOffsetParameterActive = true; State.cycleOffsetParameter = floatParam.Name; return this;