C# 클래스 LeopotamGroup.Gui.Layout.GuiGrid

상속: UnityEngine.MonoBehaviour
파일 보기 프로젝트 열기: Leopotam/LeopotamGroupLibraryUnity

공개 프로퍼티들

프로퍼티 타입 설명
AnimationTime float
IsRowVerticalOriented bool
ItemHeight float
ItemWidth float
ItemsAlignment GuiAlignment
ItemsInRow int

공개 메소드들

메소드 설명
Update ( ) : void
Validate ( ) : void

Force revalidate alignment.

비공개 메소드들

메소드 설명
AlignmentOffset ( GuiAlignment alignment, float width, float height ) : Vector2

메소드 상세

Update() 공개 메소드

public Update ( ) : void
리턴 void

Validate() 공개 메소드

Force revalidate alignment.
public Validate ( ) : void
리턴 void

프로퍼티 상세

AnimationTime 공개적으로 프로퍼티

Animation time for items reposition. If 0 - no tweening.
public float AnimationTime
리턴 float

IsRowVerticalOriented 공개적으로 프로퍼티

Is row vertical oriented. By default orientation is horizontal.
public bool IsRowVerticalOriented
리턴 bool

ItemHeight 공개적으로 프로퍼티

Height of item. Negative value changes direction.
public float ItemHeight
리턴 float

ItemWidth 공개적으로 프로퍼티

Width of item. Negative value changes direction.
public float ItemWidth
리턴 float

ItemsAlignment 공개적으로 프로퍼티

Item bounds alignment.
public GuiAlignment ItemsAlignment
리턴 GuiAlignment

ItemsInRow 공개적으로 프로퍼티

Items count in row. If 0 - no wrapping.
public int ItemsInRow
리턴 int