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.Graphic.OnBeforeTransformParentChanged

Switch to Manual
protected function OnBeforeTransformParentChanged(): void;

Description

Unity callback sent to the graphic before a Transform parent change occurs.

Used for marking layour as dirty.