Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Dumbdumb on January 29, 2013, 11:54:23 PM
-
I recently purchased NGUI through the assets store in Unity and I have to say it's an incredible product. However I am currently stumped when dealing scrollbars. I currently have a unity scene setup with two scrollbars. One is vertical and is handling one panel and another is horizontal and is handling another panel, both are equipped with hard clipping. The vertical one I put together first and it drags really well. However, I can't seem to position the grid up against a line. It seems to be adding a little cushion on the top Y and bottom Y. When I try and reset the position of where the scroll bars 0 value is it resets the value to 1.742827e-07 when I play the scene. Other than that it works pretty close to the example scene.
The horizontal scroll I setup is worse. I have been trying for a while to get it to work and I have had very little luck. I can create the scroll bar and setup the draggable panels. However, no matter what I do whenever I try and use the scrollbar it also moves the pink clipping window along with the contents of the grid.
Any help on either front would be huge. I'm sure I'm doing something wrong, I just can't seem to put my finger on it. Thanks in advance!