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.
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.
相关文章推荐
- 三.如何创建窗口模式的Activity
- 如何创建模式窗口
- 如何弹出一个模式窗口来显示进度条
- 如何在创建MDI窗口时不新建子窗口
- 【WM】如何判断两个窗口是否由同一进程创建
- Unity3D-NGUI教程:如何创建ScrollView
- fedora18 startx如何显示中文界面及文本模式和窗口模式切换
- JavaScript中的对象,如何创建对象,创建对象的7种模式
- MFC应用程序中处理消息,创建窗口的过程,关闭窗口(非模态窗口),打开模式对话框等的函数调用顺序 .
- C# Winform如何弹出一个模式窗口来显示进度条
- 如何创建一个登陆窗口,在visual webgui应用程序中!(视频)
- 【PB】如何创建一个动态的数据窗口对象?
- javascript模式窗口中如何获取和设置父页面中控件
- Qt在Windows下如何创建无CMD窗口控制台程序
- 如何创建一个用弹出窗口来查看详细信息的超链接列
- Android 窗口是如何创建的?
- 如何创建一个用弹出窗口来查看详细信息的超链接列
- VC++如何创建无CMD窗口控制台程序
- D3DPRESENT_PARAMETERS 说明及 DirectX窗口模式和全屏模式的Device创建
- MFC如何在父窗口的指定位置创建子窗口,及border边框属性设置