Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Meltdown on August 24, 2015, 04:19:33 PM

Title: How do I prevent an item in the Scrollview being selected when user is scrolling
Post by: Meltdown on August 24, 2015, 04:19:33 PM
The problem I'm having is each time the user drags the scrollview, it selects the item their finger is over. I am using a RayCast to select the item. I've trued using OnMouseUp as well, but then it selects the item when their finger goes up.

How can I allow the user to scroll the list back and forth without selecting any item?

Thanks
Title: Re: How do I prevent an item in the Scrollview being selected when user is scrolling
Post by: Holy Manfred on August 24, 2015, 06:22:42 PM
Instead of RayCast or MouseUp you could use NGUIs event system which is way easier to handle.
You can see the various events here: http://www.tasharen.com/forum/index.php?topic=6711.0