Snippet: Auto Generate Spritr Animation
💡
3
👍
1
Auto generate Rule Tile with auto generated animation from you sprite, ready to be pasted in your pallet and used… nothing else to be done.
Right click of the sprite and “Generate Animation Tile” BOOM done! 1 hour saved of your time!
I got bored of making a Rule Tile and drag and drop all the sprite to make a animation, since im using a different asset, i have to replace all the existing ones.
This saved days of my live!
https://github.com/RicardoRibeirorr/Unity-Snippets/blob/main/Tiles/CustomAnimatedRuleTile.cs

💬 Comments (4)
So if i understand this correctly,
I make a new script, copy and paste this in the script,
Then all i have to do is right click on a sprite(s), and it makes the animation for me?
Yes! A tile ready to be used in your game.
Just right click->Generate Custom Sprite Animation and done. Now drag to you pallet and its ready to use.
Want to continue the conversation?