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.OnTransformParentChanged

Switch to Manual
protected function OnTransformParentChanged(): void;

Description

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

Used for caching and recalculating layout and canvas information.