读书人

NGUI v2.0 Interaction_26:UITable UI

发布时间: 2012-09-03 09:48:39 作者: rapoo

NGUI v2.0 Interaction_26:UITable UI表格类

UITable

void Reposition ()static int SortByName (Transform a, Transform b)int columns = 0Vector2 padding = Vector2.zerobool sorted = falsebool hideInactive = truebool repositionNow = falsebool keepWithinPanel = falseDetailed Description详细描述

All children added to the game object with this script will be arranged into a table with rows and columns automatically adjusting their size to fit their content (think "table" tag in HTML).

所有添加到拥有该脚本的游戏对象 将被安排到含行和列的表格 以自动调整大小来适应他们的内容 (想象HTML中的“Lable”标签)。Member Function Documentation成员函数文档void UITable.Reposition( )

Reposition all elements in the grid. 重定位网格中的所以元素

static int UITable.SortByName(Transform a, Transform b ) [static]

Function that sorts items by name. 据名字排序项目的函数。

The documentation for this class was generated from the following file:Assets/NGUI/Scripts/Interaction/UITable.cs

读书人网 >移动开发

热点推荐