Animation Actions

v1.0

Animation Actions control Unity's legacy Animation component, enabling playback, blending, and manipulation of animation clips. These actions support multiple target selection modes (Sequential, Random, All) and use the modern target selection pattern with proper restart behavior.

Additive Animation Action

Plays an animation additively on top of existing animations with customizable fade-in/fade-out and duration control. Perfect for layering secondary animations (breathing, idle fidgets, reactive gestures) on top of primary animation loops without interrupting them. Supports looping and automatic cleanup on completion.

Animation Blend Action

Blends multiple animation clips simultaneously with independent weight curves for each clip. Use this to create smooth transitions between animation states or to mix multiple animations together (e.g., walking + aiming, running + looking around). Each blend target can optionally start playback if not already playing.

Animation Play Action

Plays a single animation clip with optional cross-fade transition from current animations. This is your primary action for switching between animation states with smooth blending. Supports different play modes (StopSameLayer, StopAll) and can instantly switch animations when duration is set to zero.

Animation Stop Action

Stops named animations or all animations with optional speed ramping to zero. Use this to gracefully halt animation playback with a smooth slowdown effect, or instantly stop animations by setting duration to zero. Can target specific animation clips by name or stop all playing animations at once.

Sample Animation Action

Samples an animation at a specific time point without starting playback. Perfect for posing characters, previewing animation frames, or synchronizing animation states across multiple objects. Supports both absolute time (seconds) and normalized time (0-1) and automatically restores original state if the animation wasn't playing.

Set Animation Speed Action

Changes the playback speed of animations with optional ramping over time. Use this to create slow-motion effects, speed up animations dynamically, or freeze animations by setting speed to zero. Can target specific animation clips by name or affect all playing animations, with smooth interpolation curves for speed changes.

Last updated