Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

LayoutRebuilder


Implements interfaces: ICanvasElement

Switch to Manual

Description

Wrapper class for managing layout rebuilding of CanvasElement.

Variables

transformSee ICanvasElement.

Public Functions

EqualsDoes the passed rebuilder point to the same CanvasElement.
IsDestroyedHas the native representation of this LayoutRebuilder been destroyed?

Static Functions

MarkLayoutForRebuildMark the given RectTransform as needing it's layout to be recalculated during the next layout pass.