Author Topic: How to get Loaded UIAtlas ..  (Read 2586 times)

djmilk

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
How to get Loaded UIAtlas ..
« on: April 01, 2014, 09:20:39 PM »
Hi . :)

UIAtlas Pool exist in NGUI ?

I want get loaded UIAtlas..


For example..

UIAtlas wantAtlas = NGUITools.GetAtlas("Loaded Atlas Name");

thx..

kittikun

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 5
  • Posts: 46
    • View Profile
Re: How to get Loaded UIAtlas ..
« Reply #1 on: April 01, 2014, 11:49:37 PM »
I believe you have to do a

  1. GameObject.FindObjectsOfType<UIAtlas>()

then find the one with the name you want