Author Topic: Overlapping scrollview  (Read 2710 times)

BenChew

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 12
    • View Profile
Overlapping scrollview
« on: June 23, 2014, 09:24:10 AM »
Hi, I'm trying to have two windows of character selection.

The player scrolls through the window to choose a character for himself and an opponent. The windows are kind of side by side.

Problem is that, I can only detect one scrollview and not the other.

Currently, I've tried hiding the colliders for characters outside of the window, doesn't work.

Any help? Thank you!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Overlapping scrollview
« Reply #1 on: June 24, 2014, 03:19:59 AM »
Scroll view component doesn't have any event handling inside. The ability to drag scroll views is placed on widgets with colliders. To see what's underneath the mouse, turn on the "debug" option on your UI camera. You will be able to see what's intercepting your events.