Author Topic: Fast way to change atlas reference?  (Read 3582 times)

jeldrez

  • Sr. Member
  • ****
  • Thank You
  • -Given: 8
  • -Receive: 4
  • Posts: 352
    • View Profile
Fast way to change atlas reference?
« 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!




ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Fast way to change atlas reference?
« Reply #1 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.

jeldrez

  • Sr. Member
  • ****
  • Thank You
  • -Given: 8
  • -Receive: 4
  • Posts: 352
    • View Profile
Re: Fast way to change atlas reference?
« Reply #2 on: June 11, 2013, 03:56:56 PM »
Thanks, I'll try that.