Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: richgizmo on July 18, 2013, 12:54:48 PM

Title: NGUI OnPress disable when out of bounds
Post by: richgizmo on July 18, 2013, 12:54:48 PM
Hi All

I'm currently trying to work out how to disable a button thats been pressed when you move out of its bounds. I've looked into the UICamera script but cant seem to figure out a way to add this. Its fundamental for to add this in the controls of my game.

Any help would be greatly appreciated.

Thanks
Richard
Title: Re: NGUI OnPress disable when out of bounds
Post by: ArenMook on July 19, 2013, 01:59:35 AM
Turn off sticky keys settings on the UICamera.
Title: Re: NGUI OnPress disable when out of bounds
Post by: richgizmo on July 19, 2013, 10:26:35 AM
thanks for your reply that was easier then what I was trying to do.