Unregister(TElement)
Removes all group event handlers from the given element.
Read time 1 minuteLast updated a month ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
Unregister(T)
public void Unregister(TElement element)
Parameters
Remarks
This method is usually much faster than unregistering the corresponding callbacks individually.
If any callback contained in this group is unregistered individually prior to calling this method, an undefined behavior will result.