Sections

Friday, January 3, 2014

Unity Texture Animation Script

It's a whole new Year!

I went back to Chile for the holidays, had a great time and am ready to go back to work on my projects and my classes.

Today I decided to share the script I used for 2D sprite animation in Unity when they didn't have the new 2D system.

As with most things in programing, this is just one possible solution. Have in mind I only had about 1 or 2 month experience in C# at the time. Still, I feel quite proud of it! :]

http://pastebin.com/rks6BgkP

And the texture looks like this:

















Have a great year!

No comments:

Post a Comment