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

Script language

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

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?
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答