How I can make a 2D Animation in Unity work?

Hi, I was wondering if in Unity you have to import an animation that was already created (for example with krita)

or if you have to create and import all the necessary images for the animation (.png images or whatever) and then you select all of them and you drag them all at once to make the animation in unity ? You know where theres the .anim for animations

I hope it was clear and thx in advance for helping me :grin:

I suppose these are “sprite swap” animations. You can look this up in the 2d animation package manual.

For importing just search for application specific importers, you often find such specialized importers if not already built-in either on the store or some other place like github.

Ty Im gonna check this, I asked this question because when I had a course about this I was able to drag many images all at once and then it created an animation in Unity.

But I was wondering if real 2d games use this method

It’s a viable way to make 2D animations, yes.

I think larger scale 2D games will want to make/buy custom 2D animation frameworks in order to have more flexibility and power, but before you have a team and a budget, just drag-and-dropping a set of sprites to make a unity animation is completely fine.