IsRegistered(VisualElement)
Returns whether this group is registered for the given element.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public bool IsRegistered(VisualElement element)
Parameters
The element to find the group on.
Returns
Type | Description |
|---|---|
| bool | True if this group was registered for this element and not subsequently unregistered. |
Remarks
If the EventCallbackGroup.Register method was never called for this element, this method is guaranteed to return .
falseIf the EventCallbackGroup.Register method was called multiple times for this element, this method returns unless the EventCallbackGroup.Unregister method was called at least the same number of times.
true