Author Topic: Don't have option to select atlas when adding UI elements  (Read 4100 times)

gorcee

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 4
    • View Profile
Don't have option to select atlas when adding UI elements
« on: July 15, 2014, 04:21:44 PM »
This is probably a completely newbie question, but how do I actually *apply* an atlas to my project. In all the video tutorials, the Atlas Maker is opened, some textures are selected, and everything is updated.

However, I already have an atlas (I am trying to take them from the examples). I can open these in Atlas Maker. But I can't actually do anything with them.

If I do, for example, NGUI -> Create -> Unity 2D Sprite, then I get the following options in the Inspector:

2D Sprite
Material
Shader

However, playing with the examples, when I do the same thing I get a nice option to select the sprite from an Atlas.

How do I get this behavior? The tutorials have been entirely unhelpful.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Don't have option to select atlas when adding UI elements
« Reply #1 on: July 15, 2014, 11:35:09 PM »
Unity 2D Sprite takes 2D sprites that were added in Unity 4.3. To use an NGUI atlas, add a regular sprite. ALT+SHIFT+S.

gorcee

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 4
    • View Profile
Re: Don't have option to select atlas when adding UI elements
« Reply #2 on: July 16, 2014, 12:56:32 PM »
Ugh, of course it didn't work, I didn't see the regular sprite option because it was being covered by a window! I'm such an idiot! Thanks :)