Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - nzen

Pages: [1] 2
1
NGUI 3 Support / Re: Newbie Questions
« on: September 16, 2014, 07:47:16 AM »
  • You should have UI Root > Camera > Panel. They have to be on NGUILayer, and make sure the Camera's Culling Mask is only NGUILayer.
  • Select Panel and go to NGUI > Create > Widget. Rename it BottomBar. Anchors > Unified. Reset everything to zero (Left > Target's Left > 0, and Right > Target's Right > 0, etc).
  • Change anchor Top to Target's Bottom > 100. Now it's 100 from the bottom of the screen always.
  • Select BottomBar then go to NGUI > Create > Sprite. Then go to Anchors > Unified. Reset them all again and it will be the same shape as the BottomBar box.

2
NGUI 3 Documentation / Re: UIProgressBar
« on: May 15, 2014, 02:29:03 AM »
Is there any need for an Alpha setting on the progress bar at all? It seems to auto get its value from the Foreground sprite's alpha.

It's stopping me being able to customise any child sprite alpha colour.

3
NGUI 3 Documentation / Re: UIScrollView
« on: May 12, 2014, 12:30:17 AM »
FIXED: Good ol' restarting Unity fixed it. Quoted for reference.
Quote
All my scrollview's children disappeared when Soft Clip/Alpha Clip was selected (editor mode and play mode). It was after saving a script then applying a prefab.

I updated to the latest version and now it shows children, but Soft Clip won't hide anything. The shader isn't cutting them off.

Is there a way to fix this?

4
NGUI 3 Support / Re: Dynamic labels and soft clipped panels
« on: May 12, 2014, 12:27:22 AM »
EDITED

5
NGUI 3 Documentation / Re: UISlider
« on: April 02, 2014, 07:53:15 AM »
Is there a way to have overlapping sliders that move at the same time?


6
NGUI 3 Documentation / Re: UIScrollView
« on: March 07, 2014, 09:31:51 AM »
I solved this as I was writing, but I will put it here for others Google searching (Solution: use scrollView.ResetPosition() after instantiating content);
Quote
I have an issue where I instantiate some buttons inside a Scroll View (NGUITools.AddChild), but when scrolling with the mousewheel, they won't restrict within the panel.

When moving the mousewheel up, the content will slide off the bottom of the Scroll View. When moving the mousewheel up, it will restrict, but the origin seems off, so it's not aligning with the bottom of the content.

While playing, it auto-fixes when left-clicking to drag. I can also fix it while playing by changing Content Origin in the inspector to anything, and when changing it back, it will also remain fixed. No matter what the Content Origin is when playing, it doesn't work.

7
NGUI 3 Documentation / Re: UIButton
« on: March 05, 2014, 04:53:32 PM »
After clicking a button with the mouse, how do we stop Joystick Button 0 from pressing it after?

Right now, I have to click the button, then click away from it to lose focus so the Xbox A button won't press it after.

8
Unchecking "Show Asset Store search hits" in Edit > Preferences fixes this message.

What does that option even mean? It says "Should the number of free/paid assets from the store be shown in the Project Browser?" in the Unity manual.

9
I see the problem now. The coloured handles appear for sprites, etc, but there are other gray dots for UIButtons, etc. Those won't turn off.

10
NGUI -> Options -> Handles -> Turn Off.

As for the anchors... yup, I see they don't realize that screen size changed. Might be update order related. You can fix it by turning off "Run Only Once" option.
The Turn Off doesn't do anything, and isn't selectable by default. Even when turning on then off, the handles are still there when selecting a panel/button/etc.

The Run Only Once fixes the other issue, thanks!

11
The first issue is self-explanatory, but when using Maximize on Play, anchors don't seem to position properly.

12
NGUI 3 Support / Re: NGUI 3.0
« on: September 24, 2013, 07:30:36 PM »
Yes, it's fixed now!

13
NGUI 3 Support / Re: NGUI 3.0
« on: September 24, 2013, 03:11:15 PM »
I'm using 4.2.1 making my own atlas with a clean project. The border adjusting fixed after adding another image to the atlas.

But now it's having all kinds of issues building atlases. Everytime I Add/Update an image it breaks some of the others that aren't selected. And it resets any settings in UIAtlas. I'm remembering to save the scene after changes too.

Here's a video of it — http://www.youtube.com/watch?v=En72eunmAKM

14
NGUI 3 Support / Re: NGUI 3.0
« on: September 24, 2013, 11:48:04 AM »
Adjusting the Border setting for sliced sprites doesn't seem to update in realtime anymore, so you have to uncheck/check "Fill Center" to see it update.

15
NGUI 3 Support / Re: NGUI 3.0
« on: September 21, 2013, 08:57:14 AM »
Handles are bugged. They're off by default, but selecting anything like a button makes them appear as gray, which blocks right-clicking to look around.

Pages: [1] 2