This version of Unity is unsupported.

LayoutElement.SetDirty

Declaration

protected void SetDirty();

Description

Mark the LayoutElement as dirty.

This will make the auto layout system process this element on the next layout pass. This method should be called by the LayoutElement whenever a change is made that potentially affects the layout.