Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: ababab5 on December 03, 2014, 03:11:45 PM
-
Hi,
I create a UIScrollView and it works fine.
But when I put a button inside, i can't scroll the view if I am on the button.
How can I filter the input between drag and tap / click ?
Please see this video to understand my issue, my english is not perfect, sorry ...
https://www.dropbox.com/s/yygwirwf4c7reyn/Enregistrement%20de%20l%E2%80%99%C3%A9cran.mov?dl=0 (https://www.dropbox.com/s/yygwirwf4c7reyn/Enregistrement%20de%20l%E2%80%99%C3%A9cran.mov?dl=0)
Thank you very much for your help.
Best regards,
Anthony B
-
You need to attach UIDragScrollView to the button as well.
All colliders inside your scroll view need to have UIDragScrollView.
-
Perfect thank you !