ngui uitable

场景:NGUI v2.0 Interaction_26:UITable UI报表类

NGUI v2.0 Interaction_26:UITable UI表格类

UITable

 

 

UITable Class Reference

UITable类引用

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).More...

所有添加到拥有该脚本的游戏对象   将被安排到含行和列的表格    以自动调整大小来适应他们的内容 (想象HTML中的“Lable”标签)。更多…

 

List of all members.

Public Member Functions公共成员函数

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

Static Public Member Functions静态公共成员函数

static int  SortByName (Transform a, Transform b)
  Function that sorts items by name.
据名字排序项目的函数。

Public Attributes公共属性

int  columns = 0
Vector2  padding = Vector2.zero
bool  sorted = false
bool  hideInactive = true
bool  repositionNow = false
bool  keepWithinPanel = false

Detailed 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