Scripting API

LayoutRebuilder

class in UnityEngine.UI · UnityEngine.UI

3 of 11 of Unity's members
In Tassix

Layout rebuilds: sizes are computed bottom-up (children first), then set top-down (a GameObject's self-controllers, such as ContentSizeFitter, before its groups), horizontally and then vertically. Rebuilds marked dirty run when the canvases update at the end of the frame.

Properties 1

Transform transform { get; }

Methods 2

static void ForceRebuildLayoutImmediate(RectTransform layoutRoot)
static void MarkLayoutForRebuild(RectTransform rect)

Queues the rebuild of the layout root above rect.

Not in Tassix yet 8

(constructor) Equals GetHashCode GraphicUpdateComplete IsDestroyed LayoutComplete Rebuild ToString