Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: buffonomics on March 28, 2014, 02:52:22 AM
-
This has been a rather frustrating day getting scrollview to work on my Unity 3.x (latest 3.x version)
This used to be easier until after a lot of changes.
- I create a 2d ui from ngui menu
- I create a scrollview from said menu. Scrollview pops up under ui root
- I create some widgets, wrap in an empty game object, attach box collider and a ui dragscrollview component to each game object
- I make the scrollview the parent of all these objects. I see clipping when I do
From this point I should be able to drag things around to scroll, but I can't. It just ignores all forms of dragging and hence cannot scroll.
Direction has nothing to do with it as it doesn't scroll to any direction.
-
What is the size of your box collider?
-
Turn on "Debug" on your UICamera and see what you're actually hitting with your touch. If you're hitting the collider you expect, then make sure it references the scrollview, so the touches are sent to it for processing.