SpriteAnimator.PlayWithCrossFade(string, float, bool) Method
Definition
Namespace: Brine2D.Animation
Plays an animation by name with a cross-fade over fadeDuration seconds.
Parameters
animationName System.String
fadeDuration System.Single
restart System.Boolean
Exceptions
System.ArgumentOutOfRangeException
Thrown if fadeDuration is not positive.