Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

ILayoutIgnorer

interface in UnityEngine.UI

Description

A RectTransform will be ignored by the layout system if it has a component which implements ILayoutIgnorer.

A components that implements ILayoutIgnorer can be used to 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.

See Also: Auto Layout, LayoutElement.

Properties

ignoreLayoutShould this RectTransform be ignored bvy the layout system?

Did you find this page useful? Please give it a rating: