Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

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

UI.LayoutElement.ignoreLayout

Switch to Manual
public var ignoreLayout: bool;

Description

Should this RectTransform be ignored by the layout system?

Setting this property to true will make a parent layout group component not consider this RectTransform part of the group. The RectTransform can then be manually positioned despite being a child GameObject of a layout group.