Random delay for duplicated 2D animations
I'm trying to duplicate a sprite with 2D animation on it and it's working fine, but all the animations start and end at the same time. Is there a way using scripting to have random delays in the sprite visual so I can get some variation in the animations without having to sacrifice file size by making different animated textures ?
Hi Moe, you do need to create duplicate textures to have them playback at different times. The reason why is that the animation playback control happens on the texture resource itself. While this looks a bit messy in your resources, the duplicate resources are detected when the Lens is packaged. The duplicate resource is then removed and replaced with a reference to the singe resource. Basically, duplicates of the exact same resource in your project will only cost you the single resource in your final Lens size.
Hope that helps!
Travis
Yes thanks Travis that cleared up the confusion.