Documentation

Unity Engine


Unity Engine


Register(VisualElement)

Adds all group event handlers to the given element.
Read time 1 minuteLast updated a month ago

Definition

public void Register(VisualElement element)

Parameters

The element to add the group to.

Remarks

This method allows the contained callbacks to be shared by multiple elements, resulting in a reduced memory footprint.
This method is usually faster than registering the corresponding callbacks individually.