Свойство | Type | Description | |
---|---|---|---|
columns | int | ||
direction | Direction, | ||
hideInactive | bool | ||
keepWithinPanel | bool | ||
onReposition | OnReposition | ||
padding | Vector2 | ||
sorted | bool |
Свойство | Type | Description | |
---|---|---|---|
mChildren | List |
||
mInitDone | bool | ||
mPanel | UIPanel, | ||
mReposition | bool |
Méthode | Description | |
---|---|---|
Init ( ) : void |
Find the necessary components.
|
|
LateUpdate ( ) : void |
Is it time to reposition? Do so now.
|
|
RepositionVariableSize ( List |
Positions the grid items, taking their own size into consideration.
|
|
Sort ( List |
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.
|
Méthode | Description | |
---|---|---|
Reposition ( ) : void |
protected RepositionVariableSize ( List |
||
children | List |
|
Résultat | void |
static protected SortByName ( Transform a, Transform b ) : int | ||
a | Transform | |
b | Transform | |
Résultat | int |