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

LayoutElement.SetDirty

protected void SetDirty();

Description

Mark the LayoutElement as dirty.

This will make the auto layout system process this element on the next layout pass. This method should be called by the LayoutElement whenever a change is made that potentially affects the layout.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答