Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: beforethelight on March 16, 2013, 07:59:14 AM
-
So here is the issue I have run just into I use uipanels like different windows gliding them on and off the page as a user activates a certain menu. I have noticed that if a button is held when I disable a panel that button will be continually held until that panel is active again. Is there a way to stop all inputs from a panel before I set it inactive?
-
Assuming you disable in OnPress, just set UICamera.currentTouch.pressed = null.
-
Thank You!! But it was my fault I was using on press to set a bool to do something or not to and I just added a on disabled set bool to false but thank you very much for the quick reply it pointed me in the right direction.