Unity not scrolling when mouse not over object

Updated on June 15, 2017 in [A] GUI
Share on Facebook0Tweet about this on TwitterShare on Google+0Share on Reddit0
0 on June 15, 2017

In Unity I am using a scroll view. It works semi-perfectly (had a lot of problems with it, don’t like how the UI system works).

The content for my scroll view is a bunch of buttons aligned vertically with some spacing between them. The problem is that the scroll rect will only scroll if I’m hovering over one of the buttons. If the mouse is between two buttons, it won’t scroll.

Here are some screenshots:

Hirearchy

Scroll rect

Scroll bar

Also, you may see that I’m not using the standard Scroll Rect, mine is nothing special, just disabled the dragging that is stupid to be used on non-touch devices.

  • Liked by
Reply