Video
Draw your animation as a compilation of png files
Bring the exported files into Adobe Illustrator or analogous programs
After spreading them out evenly on the artboard, export it as png with a transparent background
Bring it into Unity engine change the Texture Type to Sprite (2D) and Sprite Mode to Multiple
Open Sprite Editor (if you don’t have it installed go to package manager and install under in-project) make grid by cell size (this depends on the size of your files) Slice and click apply
Now you have all the files to create the animation
Add the first frame png into the scene and scale it accordingly
Add an Animator component