1
NGUI 3 Support / Re: Increase button collider size while pressed like iOS
« on: May 30, 2014, 05:34:19 AM »
Yeah I'm impressed you could make sense at all out of my rushed explanation lol
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
That's an awesome idea. I went ahead and made a simple script that does I think what you want. Just dump it on a button and it should be good to go. Feel free to do whatever you want to it (it only works with boxcolliders at the moment). The script however is still reliant on the mouse click threshold values you set on the UI camera, but now allows you to release while off the button, and still within those limits, and resizes back when you drag out of it.