- Home /
Question by
ttermeer-reboundcg · Nov 10, 2017 at 07:53 AM ·
spritecanvasatlas
How to set Sprite Atlas Variants active ?
Sprite Atlas variants seems like a cool system but I don't see how you can switch between the master and the variants within the script ?
Example : I have a scene with some uGUI image that is part of a Sprite Atlas. I want to switch to the SD variants of that atlas.
Using asset bundles, I am able to load different variants when I a set an image within a script. But when it comes to image that is set within a scene, I am unable to change the variant - and on a side note I am unable to use asset bundles for those image. The image stays white even if the asset bundle has been loaded before loading the scene.
PS : I am not looking to change every image manually - that would be too much work.
Comment