Skip to content

Animation Swap

FACS01-01 edited this page Apr 22, 2024 · 3 revisions

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

  1. Open its window from the menu FACS Utils/Animation/Animation Swap.
  2. Put the Animator Controller into the object selector and press Scan!. This will generate the list of all Animation Clips, each one with a foldout containing all paths where the animation is used.
  3. Find the animations you want to replace and put the new Animation Clips in their respective object selectors to the right.
  4. Expand the foldout of the animations you are replacing, and enable the paths you want to replace.
  5. 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 the Animation Clip asset in your Project folders.