Animation Swap - FACS01-01/FACS_Utilities GitHub Wiki
Lists all Animation Clips
in an Animator Controller
and lets you replace them granularly.
An Animation Clip
can be used in many different layers and states of an Animator Controller
. This tool will list every one of these paths, and let you do replaces to specific ones.
It takes into consideration the use of Blend Trees
. If you want to replace different animations in different paths, that involve the same Blend Tree
, the tool will duplicate the Blend Tree
asset and do the required replacements on them.
If a replacement requires editing an external Blend Tree
asset, it will be cloned and added as a sub-asset to the selected Animator Controller
.
How to use
- Open its window from the menu
FACS Utils/Animation/Animation Swap
. - Put the
Animator Controller
into the object selector and press Scan!. This will generate the list of allAnimation Clips
, each one with a foldout containing all paths where the animation is used. - Find the animations you want to replace and put the new
Animation Clips
in their respective object selectors to the right. - Expand the foldout of the animations you are replacing, and enable the paths you want to replace.
- When having at least 1 animation ready to replace, you will get a button to perform the Swap!.
Extra tips and notes
- To the right of each
Animation Clip
you will have a ✓ button to toggle all replaceable paths on and off, and a ↗ button to ping theAnimation Clip
asset in your Project folders.