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

Switch to Manual
protected function OnRectTransformDimensionsChange(): void;

Description

Implementation of a callback that is sent if an associated RectTransform has it's dimensions changed.

When this happens the graphic rebuilds it's vertices and schedules a layout update.