问:
I would like to know how you would go about having a dialog pop-up and disabling all inputs from other widgets behind this dialog?
For example: Saving menu pops up a dialog “Are you sure you want to overwrite? yes no” above. The user cannot interact with anything behind this dialog until it is closed.
I was trying to mess around with having multiple cameras, ui roots, etc. I can’t seem to get anywhere without things becoming a mess. Basically I’m figuring out an elegant solution of having some sort of UI stacking system with NGUI where I can easily just push/pop a modal/non-modal window.
回答:the popup window is in front on the Z, has its own panel, and a large collider that covers the entire screen.