NGUI-UI Grid 对比 layer grid

UI Grid

 Arrangement:排列的方向。

  Sorting:排列的顺序。

  ————None:没有顺序。

  ————Alphabetic:按字母的顺序。

  ————Horizontal:水平放置的顺序。

  ————Vertical:垂直放置的顺序。

  ————Custom:自定义的方式。比如将Sprite的名字命名方式如下:001,002,003

  Pivot:抛点的位置。

  Max Per Line:最大行或是列的数量。

  Cell Width:单元之间的宽度。

  Cell Height:单元之间的高度。

  Animate Smoothly:平滑动画。

  Hide Inactive:隐藏不活动的组件。

  Keep Within Panel:保持在Panel中。

UnityEngine Grid Layout

猜你喜欢

转载自blog.csdn.net/qq2512667/article/details/81229296