2024-07-12
한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina
- Localization System -- 多语言组件
- UIScrollView -- 滚动视图
- UIButton -- 按钮
- UIToggle -- 切换选择组件
- UIScrollBar -- 滚动条
- UIProcessBar -- 进度条
- UIPopupList --下拉列表菜单
- UIInput -- 输入框
- UIKeyBinding -- 快捷键绑定
- UIKeyNavigation -- 导航绑定
- UIGrid -- 排列
- UITable – 表格排列
- UIPlayAnimation -- UI动画
- UIAnchor -- 锚点
- UICamera -- UI摄像头
- UIDragXXX – 拖拽摄像头,元素,视图等
- UIFont – UI字体
- UILabel – 文字组件
- UIPanel – 绘制面板
- UIPlaySound – 声音播放
- UITexture – 贴图
- 等等等等
- Text – 文字
- Image – 贴图(图集中的元素)
- RawImage – 贴图(单张图)
- Button – 按钮
- Toggle – 切换与选择
- Slider – 大小滑动块
- Scrollbar – 滑动条
- Dropdown – 下拉框
- Input Field – 输入框
- Canvas – 画布
- Panel – 一大块元素
- Scroll View – 滑动视图
- Mask – 遮挡块
- NGUI有源码,可以随时随地修改满足特殊需求
- UGUI源码c#开源,可修改,但不是那么方便,需要重新打成dll后再替换原来的
- NGUI通过摄像头发出射线碰撞,接受输入事件,并通过碰撞顺序来处理层级。
- UGUI根据输入点的位置RaycastTarget,判断事件应该交给哪个UI元素。
- NGUI依靠Panel depth、RenderQueue来控制层级。
- UGUI可以依靠距离摄像机的前后位置来控制层级,也可以用sort order排序设置前后顺序。
- NGUI不支持dynamic font。
- UGUI支持dynamic font,可直接使用字体文件
- NGUI商业运营,氛围良好
- UGUI官方自运营,后台强大
- NGU据很多测试网站统计,性能尚可
- UGUI同样,据很多测试网站统计,性能良好
From the perspective of atlas tools, NGUI has more autonomy, while UGUI has more automated convenience.
From the perspective of component support, NGUI is more suitable for rapid prototyping, while UGUI requires you to write your own components.
From the perspective of UI underlying customizability, both are customizable, but NGUI is more convenient.
From the perspective of input event processing, NGUI mixes the physical system, while UGUI has its own independent event system.
From the hierarchical display point of view, NGUI concepts are a bit confusing, while UGUI hierarchical concepts are clear and clean.
From the perspective of font production, NGUI is a bit troublesome, while UGUI is more convenient.
From the perspective of community improvement, NGUI is more commercialized, while UGUI has a strong official support background.
From the performance comparison, NGUI is a bit bloated but acceptable, while UGUI is even better.
Choose what you are familiar with, try the ones you are not familiar with and then make a decision after comparing them.
Unity3D 4.x projects usually choose NGUI because Unity3D 4.x does not support UGUI well.
Nowadays, new projects will choose to use the latest version of Unity3D, so more people will choose UGUI.
New projects use UGUI, and old projects continue to use NGUI.
I hope to do more based on the source code.Custom Modifications, and then perfected intoOwn system framework, better serve the game logic, or have better performancecustom made, then the best option isNGUI.butUGUIThere is also open source, butCannot be customized at will, only on this basisExtensions and Overloading。