Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Sarper on June 02, 2015, 07:12:45 PM
-
I want to use position tweens for the transitions between my panels but I want it so that player won't be able to interact with any UI element while the position tween is playing.
Does NGUI have any utility to handle that or do I disable every element's collider for example wherever I call the PlayForward() and re-enable them on OnFinished?
-
Easiest thing to do is to create a panel with higher depth than other panels, then place a full-screen widget underneath it with a collider (ALT+SHIFT+W, ALT+SHIFT+C). It will intercept all events. Either that, or turn off events on the UICamera.
-
Easiest thing to do is to create a panel with higher depth than other panels, then place a full-screen widget underneath it with a collider (ALT+SHIFT+W, ALT+SHIFT+C). It will intercept all events. Either that, or turn off events on the UICamera.
Thanks, will keep those in mind. I've ended up changing the state of all the buttons, I wanted to show their disabled color too.