Unregister(VisualElement)
Removes all group event handlers from the given element.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public void Unregister(VisualElement element)
Parameters
The element to remove the group from. If this callback group was never registered, nothing happens.
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.