Register(VisualElement)
Adds all group event handlers to the given element.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
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.