您的位置:首页 > 产品设计 > UI/UE

NGUI中如何创建模式窗口(Modal Window)

2012-07-28 11:58 405 查看
问:

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.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: