Author Topic: 3.5.5 ScrollView not working  (Read 1704 times)

buffonomics

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
3.5.5 ScrollView not working
« 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.

r.pedra

  • Full Member
  • ***
  • Thank You
  • -Given: 7
  • -Receive: 20
  • Posts: 131
    • View Profile
Re: 3.5.5 ScrollView not working
« Reply #1 on: March 28, 2014, 03:54:29 AM »
What is the size of your box collider?

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: 3.5.5 ScrollView not working
« Reply #2 on: March 28, 2014, 05:21:31 AM »
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.