Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: BenChew on June 23, 2014, 09:24:10 AM

Title: Overlapping scrollview
Post by: BenChew 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!
Title: Re: Overlapping scrollview
Post by: ArenMook 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.