Author Topic: How to Search an Atlas at Runtime  (Read 3924 times)

Isamson

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 52
    • View Profile
How to Search an Atlas at Runtime
« on: April 17, 2014, 12:55:58 PM »
Hi,

I'm wondering if it's possible to search, at runtime, an atlas to know if a sprite is within this atlas?

The reason I want to do this is because I concatenate the name of the sprite together and I want to default back to a sprite when the concatenated sprite is missing from the atlas.

Is there any way to do this?
Unity 4.5.3f
NGUI 3.7.0