C# 클래스 UIGrid, TheUnseen

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

공개 프로퍼티들

프로퍼티 타입 설명
animateSmoothly bool
arrangement Arrangement,
cellHeight float
cellWidth float
hideInactive bool
keepWithinPanel bool
maxPerLine int
onReposition OnReposition
sorted bool

보호된 프로퍼티들

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

보호된 메소드들

메소드 설명
Init ( ) : void
Sort ( List list ) : void

Want your own custom sorting logic? Override this function.

SortByName ( Transform a, Transform b ) : int
Start ( ) : void
Update ( ) : void

비공개 메소드들

메소드 설명
Reposition ( ) : void

메소드 상세

Init() 보호된 메소드

protected Init ( ) : void
리턴 void

Sort() 보호된 메소드

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

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

static protected SortByName ( Transform a, Transform b ) : int
a Transform
b Transform
리턴 int

Start() 보호된 메소드

protected Start ( ) : void
리턴 void

Update() 보호된 메소드

protected Update ( ) : void
리턴 void

프로퍼티 상세

animateSmoothly 공개적으로 프로퍼티

Whether the grid will smoothly animate its children into the correct place.
public bool animateSmoothly
리턴 bool

arrangement 공개적으로 프로퍼티

Type of arrangement -- vertical or horizontal.
public Arrangement, arrangement
리턴 Arrangement,

cellHeight 공개적으로 프로퍼티

The height of each of the cells.
public float cellHeight
리턴 float

cellWidth 공개적으로 프로퍼티

The width of each of the cells.
public float cellWidth
리턴 float

hideInactive 공개적으로 프로퍼티

Whether to ignore the disabled children or to treat them as being present.
public bool hideInactive
리턴 bool

keepWithinPanel 공개적으로 프로퍼티

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

mInitDone 보호되어 있는 프로퍼티

protected bool mInitDone
리턴 bool

mPanel 보호되어 있는 프로퍼티

protected UIPanel, mPanel
리턴 UIPanel,

mReposition 보호되어 있는 프로퍼티

protected bool mReposition
리턴 bool

maxPerLine 공개적으로 프로퍼티

Maximum children per line. If the arrangement is horizontal, this denotes the number of columns. If the arrangement is vertical, this stands for the number of rows.
public int maxPerLine
리턴 int

onReposition 공개적으로 프로퍼티

Callback triggered when the grid repositions its contents.
public OnReposition onReposition
리턴 OnReposition

sorted 공개적으로 프로퍼티

Whether the children will be sorted alphabetically prior to repositioning.
public bool sorted
리턴 bool