Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: JamieFristrom on September 29, 2013, 11:09:24 PM

Title: How to deactivate UI temporarily while waiting for async operation
Post by: JamieFristrom on September 29, 2013, 11:09:24 PM
Hi,

While waiting for a "Register" or "Login" to process, I'm spinning a gameobject in the foreground and would like NGUI to stop processing clicks and keypresses while it waits. What's the best way to do that?

Cheers,
Jamie
Title: Re: How to deactivate UI temporarily while waiting for async operation
Post by: Nicki on September 30, 2013, 03:40:21 AM
Easiest is to put a collider in front of everything that doesn't do anything and removing it when your async operation is done.