GridLayoutGroup
Inherited MembersComponent.GetComponentIndex()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, InstantiateParameters)
Object.InstantiateAsync<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.Instantiate(Object, Scene)
Object.Instantiate<T>(T, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: UnityEngine.UI Assembly: UnityEngine.UI.dll Syntax[AddComponentMenu("Layout/Grid Layout Group", 152)]
public class GridLayoutGroup : LayoutGroup, ILayoutElement, ILayoutGroup, ILayoutController
Constructors GridLayoutGroup() Declaration
protected GridLayoutGroup()
Fields m_CellSize Declaration
[SerializeField]
protected Vector2 m_CellSize
Field Value m_Constraint Declaration
[SerializeField]
protected GridLayoutGroup.Constraint m_Constraint
Field Value m_ConstraintCount Declaration
[SerializeField]
protected int m_ConstraintCount
Field Value m_Spacing Declaration
[SerializeField]
protected Vector2 m_Spacing
Field Value m_StartAxis Declaration
[SerializeField]
protected GridLayoutGroup.Axis m_StartAxis
Field Value m_StartCorner Declaration
[SerializeField]
protected GridLayoutGroup.Corner m_StartCorner
Field Value Properties cellSize
The size to use for each cell in the grid.
Declarationpublic Vector2 cellSize { get; set; }
Property Value constraint
Which constraint to use for the GridLayoutGroup.
Declarationpublic GridLayoutGroup.Constraint constraint { get; set; }
Property Value constraintCount
How many cells there should be along the constrained axis.
Declarationpublic int constraintCount { get; set; }
Property Value spacing
The spacing to use between layout elements in the grid on both axises.
Declarationpublic Vector2 spacing { get; set; }
Property Value startAxis
Which axis should cells be placed along first
Declarationpublic GridLayoutGroup.Axis startAxis { get; set; }
Property Value startCorner
Which corner should the first cell be placed in?
Declarationpublic GridLayoutGroup.Corner startCorner { get; set; }
Property Value Methods CalculateLayoutInputHorizontal()
Called by the layout system to calculate the horizontal layout size. Also see ILayoutElement
Declarationpublic override void CalculateLayoutInputHorizontal()
Overrides CalculateLayoutInputVertical()
Called by the layout system to calculate the vertical layout size. Also see ILayoutElement
Declarationpublic override void CalculateLayoutInputVertical()
Overrides OnValidate() Declaration
protected override void OnValidate()
Overrides SetLayoutHorizontal()
Called by the layout system Also see ILayoutElement
Declarationpublic override void SetLayoutHorizontal()
Overrides SetLayoutVertical()
Called by the layout system Also see ILayoutElement
Declarationpublic override void SetLayoutVertical()
Overrides Implements
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4