Version: 2017.2

ILayoutIgnorer

interface in UnityEngine.UI

Switch to Manual

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.

Variables

ignoreLayoutShould this RectTransform be ignored bvy the layout system?