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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user