Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


OnVisualElementChange(VisualElement, VersionChangeType)

Receives notifications for every change that occurs on the panel's visual elements. This method is exclusively available in development builds and the Editor, as it serves as a debug feature that complements the profiling of an application.
Read time 1 minuteLast updated 13 days ago

Definition

void OnVisualElementChange(VisualElement element, VersionChangeType changeType)

Parameters

The element that changed.

A string that contains the comma-separated value of what has changed.

Remarks

The number of times the callback is called, the value returned, and the order in which they are returned are subject to change between each minor release of Unity, as this is considered internal. Related to PanelSettings.SetPanelChangeReceiver