Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: gorcee on July 15, 2014, 04:21:44 PM

Title: Don't have option to select atlas when adding UI elements
Post by: gorcee 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.
Title: Re: Don't have option to select atlas when adding UI elements
Post by: ArenMook 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.
Title: Re: Don't have option to select atlas when adding UI elements
Post by: gorcee 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 :)