The difference between Ugui and Ngui and its advantages and disadvantages __unity3d
Source: Internet
Author: User
1. Distinction between Ngui and Ugui 1) Ugui Canvas has world coordinates and screen coordinates
2) Ugui image can be used material
3) Ugui through mask to cut, and Ngui through the panel clip
4 Ngui rendering sequence is through the depth of the widget, and Ugui render order according to the hierarchy order, the more below rendering at the top level.
5) Ugui do not need to bind Colliders,ui can automatically intercept events
6 Ugui Anchor is relative to the parent object, does not provide advanced options, personal feel Ugui anchor operation more convenient than Ngui
7) Ugui does not have Atlas one said, using Sprite Packer
8) The navigation of Ugui can be visualized in scene
9 Ugui events need to implement the interface of the event system, but it is also simple to write
2. Respective advantages and disadvantages 1) Ngui also retains the atlas, which requires the maintenance of the Atlas. Ugui does not have the concept of Atlas, can make full use of resources to avoid duplication of resources.
2 Ugui The concept of Anchor point, it is more convenient for screen adaptive.
3) Ngui support graphics and text mixed row, Ugui temporarily not found to support this feature.
4) Ugui does not have uiwrap to cycle scrollview content.
5) Ugui temporarily does not have tween components.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.