ドキュメント

Unity Engine

Unity Engine

IsRegistered(VisualElement)

Returns whether this group is registered for the given element.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public bool IsRegistered(VisualElement element)

Parameters

The element to find the group on.

Returns

Type

Description

boolTrue 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
false
.
If the EventCallbackGroup.Register method was called multiple times for this element, this method returns
true
unless the EventCallbackGroup.Unregister method was called at least the same number of times.