SpriteAnimator.PlayQueuedWithCrossFade(string, float) Method
Definition
Namespace: Brine2D.Animation
Queues an animation to play with a cross-fade after the current non-looping clip finishes \(or immediately if nothing is playing\). Multiple calls append to the queue. The queue depth is capped at MaxQueueDepth; attempts to exceed it are ignored with a warning.
Parameters
animationName System.String
fadeDuration System.Single