Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: DuaneDog on January 31, 2014, 01:38:59 PM
-
I have the full version of NGui, not just the free version. When I pull up the Atlas maker there is simply nothing in there to create a new atlas. In the documentation and in videos thare is a green button... my atlas interface has no create option.
When I actually click on a sprite in an atlas, there is no create option in the far right inspector either. All the other options are there for the sprite under the UIAtlas script... but no create options to add a new sprite to the built in 'wood' atlas.
Can anyone jump in and give me some direction as to why this might be the case? I've tried restarting Unity, creating a new project, re-importing NGui... Always the same result. One atlas 'wood'... no options to create other atlases or add sprites to the 'wood' atlas. So very stuck.
All the best,
DuaneDog
-
Having exact same problem. Version was downloaded yesterday if that's any help.
-
Very frustrating... what should be easy now feels impossible. Maybe something to do with the update. Hopefully we will hear a solution soon because as it stands I pretty much can't do anything with NGui.
-
I've removed NGui entirely and reinstalled/imported from scratch. No luck. Still no way to create an atlas or add a sprite to an additional atlas.
-
Still working on this issue... one symptom of problems is when I create an empty gameobject, the go add component and try to add an UIAtlas script to it, I don't have that script available in any of my lists to attach it to my empty game object. Yet when I open up the Atlas Manager and click on a sprite I can see the UIAtlas script there in the inspector window. But nothing to create a new sprite.
-
I've attached a screenshot so it is absolutely clear what my problem is. No options to add a new Atlas... No option to even add sprites to my existing Atlas.
-
To add a sprite, select the texture in the Project View with the Atlas Maker open. You will be given an option.
To create a new atlas, just edit the atlas name. You will be given an option.
-
Ok, there is an add button, but no joy. When I right clicked, there was an add option, but the atlas name and the add option were different, see attached image. Also clicking on add didn't do anything, just brought up the UIAtlas/Sprite details in the inspector. Note, the add has the right name, the atlas name on the top is the wrong one, but the list of sprites matches that atlas name, not the one I want to edit
-
Yep same here... in the screenshots I attached in the previous post I have the texture selected... yet no option to add new sprites or anything like that. So still stuck.
-
Remove the reference to the atlas. It currently points to an existing atlas. Set it to null.
-
Alternatively you can great a game object, attach UIAtlas to it, and save it as a prefab. That also makes a blank atlas.
-
After I created a brand new project and new scene, install Ngui the create button is now in the Atlas Maker and the 'add/update all' green button gets exposed as it should. Many thanks on your help and it great that I got this working. Honestly I think something still got kind of weird in my main project after the latest NGui update. Still trying to get my scenes back up and running again.
Many many thanks for all your help!
-
I am still not sure how to add new sprite. I created a new atlase with a single sprite in it, and I still cannot find the method to add more sprites. Choosing another texture shows up the "Add/Update" button but this is not what I want. When I choose my added texture (Wooden Atlas.png for example), "View Sprites" button shows up and I cannot see anything to add a new sprite.
The only way I can add a new sprite is to click the "Duplicate" button in the inspector view of the only sprite but this will ruin the texture
-
To the left of the "Edit" button there is a circle. Click it, choose "None". Now you will be creating a new atlas. It's just a selection field like any other in Unity.
-
To the left of the "Edit" button there is a circle. Click it, choose "None". Now you will be creating a new atlas. It's just a selection field like any other in Unity.
I know this is how we create a new atlas (like Wooden Atlas), but there is only ONE sprite inside it, How to create sprites (like Button A, Button B, Emotion - Angry, Emotion - Annoyed, etc)???
-
Okay I can guess why we have misconceptions here. What texture I have is a SINGLE png for which I have already put all my sprites in it. (like Wooden Atlas.png)
And I guess how you produce a new atlas is putting all SEPERATE png sprites inside the project and choose those png one by one inside Atlas Maker and auto-generate that all-in-one png.
Am I right?
EDIT: Guess I am right, I put all my pngs inside another folder and add them one by one in Atlas Maker and the large png is generated by Atlas Maker. Hope this help other people who have misconception here.