11000+款5星资源

8.5万+用户参与评分

10万+社区成员鼎力支持

每款资源都经过 Unity 审核

首页
工具
动画
此内容由第三方提供商托管,该第三方提供商在未接受Targeting Cookies的情况下不允许观看视频。如果您想观看来自这些提供商的视频,请将“Targeting Cookie”的Cookie偏好设置为“是”。
1/6
Automatically replace sprites in animations to create new variants of your animations, animator controllers and prefabs, or change the binding to a different child object's sprite renderer.
可编程渲染管线(SRP)兼容性
Unity可编程渲染管线(SRP)是让您能够通过C#脚本控制渲染的一个功能。SRP是支撑通用渲染管线(URP)和高清渲染管线(HDRP)的底层技术。
Unity版本内置渲染管线通用渲染管线(URP)高清渲染管线(HDRP)
2021.3.0f1
兼容
兼容
兼容
2019.4.1f1
兼容
兼容
兼容
描述

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!


Website | Documentation


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.

技术细节
  • Change sprites in existing animations
  • Automatically replace sprites by finding matching sprites based on name or index within a spritesheet
  • Rebind animations to use a different child object's Sprite Renderer
  • Optionally create new variants of animations, animator controllers and prefabs using the animations
  • Project tab context menu integration to quickly open/add assets and replace sprites
  • Full source code included
  • Only for updating/copying existing animations in the editor, doesn't change sprites in a running game

Sprite Animation Swapper

(暂无评分)
17 users have favourite this asset
(17)
$20
席位
1
更新的价格和增值税在结算时计算
退款政策
该资源受Unity资源商店退款政策约束。有关详细信息,请参见《最终用户许可协议》(EULA)中的第2.9.3节。
安全结账方式:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
许可证类型
文件大小
38.0 KB
最新版本
1.0.0
最新发布日期
2024年4月11日
原始 Unity 版本
2019.4.1
高品质资源
11000+款5星资源
深受用户信赖
8.5万+用户参与评分
强大的社区支持
10万+社区成员鼎力支持
Unity logo
语言
反馈
合作伙伴计划
合作伙伴
USD
EUR
Copyright © 2025 Unity Technologies
所有价格不包含税
USD
EUR
$20