Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Zniper69 on February 10, 2014, 04:47:37 AM
-
Hi
I'm sure that there's some information about this somewhere, but I seem to not have been able to dig something up that discusses my problem here.
So my goal is simple.. I have a scrollview (clipped panel), and I have some buttons that I want to:
A) Be able to scroll up/down in the scrollview, so the user can reach all buttons by scrolling.
B) Be able to interact with the buttons (i.e. click them).
So the problem arises as such:
If the user presses a button directly, he will not be able to drag the scroll view. If he presses outside the button collider (but still inside the scroll view) he can scroll.
I would like it so that if a user presses a button, but does not release and instead begin dragging, then he should be able to scroll the scroll view and the interaction with that button will be forgotten so to speak..
I hope that this makes sense. Any inputs on how to achieve this?
-
Just attach UIDragScrollView to buttons as well.