Splitting GIFs and PSDs in Photoshop into Unity Animations - Part Two
part One: https://designdevelopdie.tumblr.com/post/190654589296/
Part One.5: https://designdevelopdie.tumblr.com/post/190672065731
Now that we have the frames we want, how we want them, and where they belong, we can move onto adding them into the Unity project.
Just drag and drop the files right onto the game Scene.
After the files load in Unity will ask you to create a New Animation. I named mine _city_6.anim after the actual art asset but you can name it anything you want.
Now you can see your new animation in the Hierarchy and Project sections.
I renamed mine to just _city_6.
Now if you run the game you’ll see your animation looping (by default) wherever you dragged it to on the scene. Mine is running way to fast and is too small so I’m going to scale it up next.
Select the animation in the Hierarchy.
Next, I set my Scale to 2. You can set it to whatever you need. We’ll be massing with scale another time coming up as well.
Looks a lot better now. We got Transparency working, correct the Scale, and in the process, the animation speed corrected itself.
The next part of this will be making these cities scroll dependent on the player speed and spawning these cities randomly as the player flies over them.
As before, I’ve moved the files/frames for the animation to their own subfolder in the Project window in Unity for cleanliness.