How to reuse Animation Clip for other characters in Unity

Описание к видео How to reuse Animation Clip for other characters in Unity

In this video I will show you how to use 2D Animation package and its Sprite Resolver and Sprite Library to create reusable 2D animations.

Previously if we had multiple characters with exactly the same animation we have do create Animator Override Controller and recreate every animation using the sprite for the other character. This was a lot of work, and doing something like swapping a hat / hair style that took part in the animation was pretty difficult.

Now thanks to the sprite library asset storing all the sprites for each animation all we have to do is to swap this asset and you can easily use another sprite sheet for tour animation. Learn how by watching the video!

Learn to make 2D Unity games and write better C# code using my video course:
https://courses.sunnyvalleystudio.com/

Project files for patreons:
  / 59086630  

Scripts on github:
https://github.com/SunnyValleyStudio/...

Assets used:
https://trixelized.itch.io/starstring...
https://sventhole.itch.io/bandits

Join the discord:
  / discord  

You can support me through Patreon:
  / sunnyvalleystudio  

Chapters:
00:00 Introduction
00:54 Old Animator Override way
01:22 2D Animation package
02:34 Sprite Library Asset
05:45 Adding Sprite Resolver
06:54 Creating Animations using Sprite Resolver
08:28 Problem - animation is not playing
10:41 Testing
11:58 Summary
12:24 Learn how to make 2D games in Unity

#ScriptableObject #unity2d #sunnyvalleystudio

Комментарии

Информация по комментариям в разработке