Sprite Animation Swapper

$19
Publisher Gaming is Love
File size 38.02kB
Number of files 5
Latest version 1.0.0
Latest release date 2024-04-11 06:50:15
First release date 2024-04-11 06:50:15
Supported Unity versions 2018.4.2 or higher

You have a lot of 2D characters and want to reuse your animations with their own spritesheets? Instead of manually updating your animations, sprite by sprite, let Sprite Animation Swapper handle this task for you, fast!


Sprite Animation Swapper can automatically find matching sprites in a spritesheet, either by name or index of the individual sprite that's used in your animations. If you use the same spritesheet layout for your characters, this'll be a one-click update for all animations of a character.

You can either update your existing animations, or create a new copy of the animation (including new animator override controller and prefab using those animations).


Changing Sprites

Drag and drop the assets you want to use into the editor and hit the Auto Replace button - that's all. But no worries, changes are only made if you save them. The editor will list all animations with their keyframes and the changes that'll be made. You can also manually adjust the used sprites or use a specific spritesheet for an animation's auto replacement.

The project tab's context menu can be used to quickly open/add assets in the editor or auto replace sprites in one go - you only need to save the changes.

If your animations came from a prefab, the prefab's sprite renderers can also be updated with new sprites.


Changing the Binding

You've changed the setup of your prefab or want to reuse an animation on a prefab where the Sprite Renderer is on a different child object?

Sprite Animation Swapper allows you to change the binding of a sprite animation. If the animation was added using a prefab, all available Sprite Renderers of the prefab are available in a popup field. Otherwise, not coming from a prefab, you can freely define the path to the Sprite Renderer in a text field.


Saving

Once you're fine with your changes, you can either save it directly on the existing assets, or create new copies for the changed versions. Saving as copies will automatically create a new prefab, animator override controller and animations for you, ready to go.


Please Note

Sprite Animation Swapper is only for editing or copying existing animations in the editor. Changing sprites in animations at runtime is not supported. Also, sprite animations are only supported by Mecanim animations.

This is an editor extension and doesn't contain any sprite assets.

Top Publisher Assets