ScriptManager 2 - multiple materials

Hi,

I have built an atlas for a gameobject, which unfortunately exceeded the maximum size. I got a warning, which states that I should use multiple materials.

My question would be, how can I use different Materials or atlases for different animations on the same gameObject?

Thanks

Hi,

You'll need to use SuperSprite. In the SM2 help, it's listed in the main menu on the left. Simply follow the instructions on how to set it up and you'll then have several atlas to play with.

be careful with one single animation spanning across multiple atlas, you'll likely get a glitch as the anim switch from one atlas to the next. It might be fine depending on your framerate tho. Also, I haven't tested with the latest update, so it might have bee improved already. If you are using different animations then you'll be fine,

Bye,

Jean