Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: jeldrez on June 10, 2013, 10:48:34 AM

Title: Fast way to change atlas reference?
Post by: jeldrez on June 10, 2013, 10:48:34 AM
There's a way to change the atlas reference to several images?
I'm do it by hand and it takes a while (it's really long and tedious).


IE:


  1. Atlas: Menu
  2. Sprite: button_back


How can I change the atlas references in all the back buttons at once? there's a way?


thanks in advance!



Title: Re: Fast way to change atlas reference?
Post by: ArenMook on June 10, 2013, 02:36:25 PM
You can always write your own Menu Item script to do it for you -- find all objects of type UISprite, iterate through the list, change what you need.
Title: Re: Fast way to change atlas reference?
Post by: jeldrez on June 11, 2013, 03:56:56 PM
Thanks, I'll try that.