C# Class UIGrid, TheUnseen

Inheritance: UIWidgetContainer
Afficher le fichier Open project: henryj41043/TheUnseen Class Usage Examples

Méthodes publiques

Свойство Type Description
animateSmoothly bool
arrangement Arrangement,
cellHeight float
cellWidth float
hideInactive bool
keepWithinPanel bool
maxPerLine int
onReposition OnReposition
sorted bool

Protected Properties

Свойство Type Description
mInitDone bool
mPanel UIPanel,
mReposition bool

Méthodes protégées

Méthode Description
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

Private Methods

Méthode Description
Reposition ( ) : void

Method Details

Init() protected méthode

protected Init ( ) : void
Résultat void

Sort() protected méthode

Want your own custom sorting logic? Override this function.
protected Sort ( List list ) : void
list List
Résultat void

SortByName() static protected méthode

static protected SortByName ( Transform a, Transform b ) : int
a Transform
b Transform
Résultat int

Start() protected méthode

protected Start ( ) : void
Résultat void

Update() protected méthode

protected Update ( ) : void
Résultat void

Property Details

animateSmoothly public_oe property

Whether the grid will smoothly animate its children into the correct place.
public bool animateSmoothly
Résultat bool

arrangement public_oe property

Type of arrangement -- vertical or horizontal.
public Arrangement, arrangement
Résultat Arrangement,

cellHeight public_oe property

The height of each of the cells.
public float cellHeight
Résultat float

cellWidth public_oe property

The width of each of the cells.
public float cellWidth
Résultat float

hideInactive public_oe property

Whether to ignore the disabled children or to treat them as being present.
public bool hideInactive
Résultat bool

keepWithinPanel public_oe property

Whether the parent container will be notified of the grid's changes.
public bool keepWithinPanel
Résultat bool

mInitDone protected_oe property

protected bool mInitDone
Résultat bool

mPanel protected_oe property

protected UIPanel, mPanel
Résultat UIPanel,

mReposition protected_oe property

protected bool mReposition
Résultat bool

maxPerLine public_oe property

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
Résultat int

onReposition public_oe property

Callback triggered when the grid repositions its contents.
public OnReposition onReposition
Résultat OnReposition

sorted public_oe property

Whether the children will be sorted alphabetically prior to repositioning.
public bool sorted
Résultat bool