C# 클래스 UITable, TheUnseen

상속: UIWidgetContainer
파일 보기 프로젝트 열기: henryj41043/TheUnseen 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
columns int
direction Direction,
hideInactive bool
keepWithinPanel bool
onReposition OnReposition
padding Vector2
sorted bool

보호된 프로퍼티들

프로퍼티 타입 설명
mChildren List
mInitDone bool
mPanel UIPanel,
mReposition bool

보호된 메소드들

메소드 설명
Init ( ) : void

Find the necessary components.

LateUpdate ( ) : void

Is it time to reposition? Do so now.

RepositionVariableSize ( List children ) : void

Positions the grid items, taking their own size into consideration.

Sort ( List list ) : void

Want your own custom sorting logic? Override this function.

SortByName ( Transform a, Transform b ) : int

Function that sorts items by name.

Start ( ) : void

Position the grid's contents when the script starts.

비공개 메소드들

메소드 설명
Reposition ( ) : void

메소드 상세

Init() 보호된 메소드

Find the necessary components.
protected Init ( ) : void
리턴 void

LateUpdate() 보호된 메소드

Is it time to reposition? Do so now.
protected LateUpdate ( ) : void
리턴 void

RepositionVariableSize() 보호된 메소드

Positions the grid items, taking their own size into consideration.
protected RepositionVariableSize ( List children ) : void
children List
리턴 void

Sort() 보호된 메소드

Want your own custom sorting logic? Override this function.
protected Sort ( List list ) : void
list List
리턴 void

SortByName() 정적인 보호된 메소드

Function that sorts items by name.
static protected SortByName ( Transform a, Transform b ) : int
a Transform
b Transform
리턴 int

Start() 보호된 메소드

Position the grid's contents when the script starts.
protected Start ( ) : void
리턴 void

프로퍼티 상세

columns 공개적으로 프로퍼티

How many columns there will be before a new line is started. 0 means unlimited.
public int columns
리턴 int

direction 공개적으로 프로퍼티

Which way the new lines will be added.
public Direction, direction
리턴 Direction,

hideInactive 공개적으로 프로퍼티

Whether inactive children will be discarded from the table's calculations.
public bool hideInactive
리턴 bool

keepWithinPanel 공개적으로 프로퍼티

Whether the parent container will be notified of the table's changes.
public bool keepWithinPanel
리턴 bool

mChildren 보호되어 있는 프로퍼티

protected List mChildren
리턴 List

mInitDone 보호되어 있는 프로퍼티

protected bool mInitDone
리턴 bool

mPanel 보호되어 있는 프로퍼티

protected UIPanel, mPanel
리턴 UIPanel,

mReposition 보호되어 있는 프로퍼티

protected bool mReposition
리턴 bool

onReposition 공개적으로 프로퍼티

Delegate function that will be called when the table repositions its content.
public OnReposition onReposition
리턴 OnReposition

padding 공개적으로 프로퍼티

Padding around each entry, in pixels.
public Vector2 padding
리턴 Vector2

sorted 공개적으로 프로퍼티

Whether the table's contents will be sorted alphabetically.
public bool sorted
리턴 bool