首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > 移动开发 >

NGUI v2.0 Interaction_26:UITable UI报表类

2012-09-03 
NGUI v2.0 Interaction_26:UITable UI表格类UITablevoid Reposition ()static int SortByName (Transform

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

热点排行