Class HorizontalLayoutGroup
Arranges child elements side by side horizontally.
Inheritance
HorizontalLayoutGroup
Inherited Members
Object.MemberwiseClone()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
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)
Object.FindObjectsByType<T>()
Object.FindObjectsByType<T>(FindObjectsInactive)
Namespace: UnityEngine.UI
Assembly: UnityEngine.UI.dll
Syntax
[AddComponentMenu("Layout/Horizontal Layout Group", 150)]
public class HorizontalLayoutGroup : HorizontalOrVerticalLayoutGroup, ILayoutElement, ILayoutGroup, ILayoutController
Constructors
HorizontalLayoutGroup()
Protected default constructor. Use UnityEngine.GameObject.AddComponent<T>() to add a HorizontalLayoutGroup to a GameObject.
Declaration
protected HorizontalLayoutGroup()
Methods
CalculateLayoutInputHorizontal()
Called by the layout system. Also see ILayoutElement
Declaration
public override void CalculateLayoutInputHorizontal()
Overrides
CalculateLayoutInputVertical()
Called by the layout system. Also see ILayoutElement
Declaration
public override void CalculateLayoutInputVertical()
Overrides
SetLayoutHorizontal()
Called by the layout system. Also see ILayoutElement
Declaration
public override void SetLayoutHorizontal()
Overrides
SetLayoutVertical()
Called by the layout system. Also see ILayoutElement
Declaration
public override void SetLayoutVertical()