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