- Home /
EZ GUI Build Atlases
Hi Unity members,
I have just started using EZ GUI and I think that I am missing some thing in the "build atlases" part.
Issue Each time I close the unity editor and again reopen it, all the earlier generated atlas are gone.
In order to get the atlases back I have to click on "build atlases" again.
Example 1. Lets say I have a button with different textures for normal, active, over and disable states. 2. Then I select the button and click on "build atlases" 3. Check "pixel perfect" 4. Every thing appears fine and I can see different textures for different states. 5. Close the editor and reopen it. 6. Here is the problem, I don't see different textures for different states. I have to click on "build atlases" again to overcome this.
Am I missing anything or is this the correct behavior ?
Thanks for reading
Answer by kromenak · Aug 19, 2011 at 08:21 PM
You may get a better answer at the EZGUI forums. The guy who created the system seems to answer questions daily: http://forum.anbsoft.com/
When you build an atlas, it will create the atlas somewhere in your assets folder, I think just in "Sprite Atlases" by default. This texture is probably being saved between runs of Unity (if not, then that is your problem!). If it is being saved, then the problem is related to the UV mappings from the texture onto your button.
You may want to create a prefab out of the button so that EZGUI will scan your projects directory when building atlases. Also, try selecting the specific material being used and use the "Build Atlas for Material" command. The only other thing I can think of is that EZGUI acts a bit strangely if there are no cameras in the scene.
Thanks for your answer $$anonymous$$romenak. I will check the EZGUI forum.
Your answer
Follow this Question
Related Questions
iphone gui alternatives 1 Answer
ez gui change texture at runtime 1 Answer
Prevent a EZ GUI UIButton from being triggered more than once 0 Answers
Orthographic objects follow in perspective 2 Answers
NGUI/ EZGUI autoscale? 0 Answers