Add CgeAacFlTransition.Automatically():

- This is equivalent to a transition that occurs after the animation is at least at 0 percent.
- It is meant to be used with sub state machine nodes exiting.
This commit is contained in:
Haï~
2022-05-10 20:06:47 +02:00
parent 77d68dcc0f
commit 46c7bf9000
+8
View File
@@ -816,6 +816,14 @@ namespace AnimatorAsCode.V0
return this;
}
public AacFlTransition Automatically()
{
_transition.hasExitTime = true;
_transition.exitTime = 0;
return this;
}
public AacFlTransition AfterAnimationIsAtLeastAtPercent(float exitTimeNormalized)
{
_transition.hasExitTime = true;