Differences, advantages and disadvantages between Unity3D_UGUI and NGUI

1. The difference between NGUI and UGUI

1) UGUI's Canvas has world coordinates and screen coordinates; 
2) UGUI's Image can use material; 
3) UGUI uses Mask to crop, while NGUI uses Panel's Clip; 
4) NGUI's rendering sequence is through the Depth of the Widget, and The rendering order of UGUI is based on the order of Hierarchy, and the bottom is rendered at the top level; 
5) UGUI does not need to bind Colliders, and UI can automatically intercept events; 
6) UGUI's Anchor is a relative parent object, and no advanced options are provided. Personally, uGUI's Anchor operation It is more convenient than NGUI; 
7) UGUI does not have Atlas, and uses Sprite Packer; 
8) UGUI's Navigation can be visualized in Scene; 
9) UGUI's events need to implement the interface of the event system, but it is also simple to write.

2. The advantages and disadvantages of each

1) NGUI still retains the atlas, which needs to be maintained. However, UGUI does not have the concept of atlas, which can make full use of resources and avoid duplication of resources; 
2) UGUI has the concept of anchor point, which is more convenient for screen adaptation; 
3) NGUI supports mixed arrangement of graphics and text, and UGUI has not yet found that it supports this function; 
4) UGUI does not have UIWrap to cycle scrollview content; 
5) UGUI has no Tween component for the time being.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325078740&siteId=291194637