Author Topic: NGUI OnPress disable when out of bounds  (Read 3375 times)

richgizmo

  • Guest
NGUI OnPress disable when out of bounds
« 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

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NGUI OnPress disable when out of bounds
« Reply #1 on: July 19, 2013, 01:59:35 AM »
Turn off sticky keys settings on the UICamera.

richgizmo

  • Guest
Re: NGUI OnPress disable when out of bounds
« Reply #2 on: July 19, 2013, 10:26:35 AM »
thanks for your reply that was easier then what I was trying to do.