Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: r6834 on September 04, 2014, 06:47:04 PM

Title: NGUI slider jumping to wrong value..
Post by: r6834 on September 04, 2014, 06:47:04 PM
So I am trying to place an NGUI slider under a panel in 3d space. It works for the most part, but if I disable the the collider on the background object, the slider gets crazy. It jumps from 0 to 1 when I click on it instead of letting me drag it smoothly. It seems I can do this in 2d space just fine, but when I make the slider a child of my 3d panel is when it starts snapping to full on the first click. I have been at this for hours now, has anyone else experienced this sort of thing?
Title: Re: NGUI slider jumping to wrong value..
Post by: ArenMook on September 05, 2014, 09:41:54 AM
Why would you put a collider on a panel? Panel is like a renderer. It has no size.

You should attach it to a widget instead -- ALT SHIFT W, ALT SHIFT C.