Scripting API

LayoutGroup

class in UnityEngine.UI · UnityEngine.UI · inherits from UIBehaviour

34 of 36 of Unity's members
In Tassix

Lays out child RectTransforms: the shared part of horizontal, vertical and grid groups.

Properties 9

TextAnchor childAlignment { get; set; }
virtual float flexibleHeight { get; }
virtual float flexibleWidth { get; }
virtual int layoutPriority { get; }
virtual float minHeight { get; }
virtual float minWidth { get; }
RectOffset padding { get; set; }
virtual float preferredHeight { get; }
virtual float preferredWidth { get; }

Methods 4

virtual void CalculateLayoutInputHorizontal()

The children it lays out: active, and not ignoring layout.

abstract void CalculateLayoutInputVertical()
abstract void SetLayoutHorizontal()
abstract void SetLayoutVertical()

Not in Tassix yet 2

OnChildRectTransformDimensionsChange OnValidate