Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


sendChildDimensionsChange

Whether the RectTransform notifies components when a child RectTransform changes dimensions.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public bool sendChildDimensionsChange { get; set; }

Remarks

If true, this RectTransform calls MonoBehaviour.OnChildRectTransformDimensionsChange() on all components attached to the same GameObject when any of its child RectTransforms change dimensions.

Examples

{code Documentation/ManualDocs/com.unity.documentation-examples/CoreProgramming/Scripts/Transform/OnChildRectTransformDimensionsChangeExample.cs}