Enum GridLayoutGroup.Axis
The grid axis we are looking at.
Namespace: UnityEngine.UI
Syntax
public enum Axis
Remarks
As the storage is a [][] we make access easier by passing a axis.
Fields
| Name | Description | Value |
|---|---|---|
| Horizontal | Horizontal axis |
0 |
| Vertical | Vertical axis. |
1 |