- Home /
Best sprite-sheet animation workflow. (uGUI)
Hi, I am useing the Unity 4.6 Beta to experiment with the UI and I was wondering what is the best workflow for creating animations from sprite-sheets.
I am using the sprite editor to slice up the sheet.
My current workflow is to add an animator to the image and change the image sprite every frame. This takes quite a while, I was wondering if there was a faster/automated way to do this?
It seems like this should be a common task so I am not sure if I am missing something.
I should note that this technique currently does not animate properly due to a bug: http://issuetracker.unity3d.com/issues/animated-ui-image-flickers
But that is not the point of the question, it is more a of a workflow query.
under 4.6rc3 i can't change the image of a Image (UI element) having a sprite-sheet as source with animation!
i can program the sequence (like in your screenshot) but when in play, images aren't changed
could you make it work?
thanks
Answer by jphales · Feb 07, 2015 at 02:22 AM
Hi Janus,
I'm certain you've figured this out by now but for others interested.
Slice up the sprite using the Sprite Editor as you have done. You should see all your sprite sheet slices -numbered- appear underneath the sprite image in the inspector.
Select all sprite slices (Shift select) you want in a single animation and...
Drag them into the editor window.
Sprite, controller, and animation created automatically.
Your answer
![](https://koobas.hobune.stream/wayback/20220613165734im_/https://answers.unity.com/themes/thub/images/avi.jpg)