EventCallbackGroup
Creates a callback group allowing the provided callbacks to be registered and unregistered all at once on any VisualElement.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Constructor
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
EventCallbackGroup(EventCallbackDefinition[])
Creates a callback group allowing the provided callbacks to be registered and unregistered all at once on any VisualElement.
public EventCallbackGroup(params EventCallbackDefinition[] callbacks)
Parameters
The callbacks included in this group.
EventCallbackGroup(ReadOnlySpan<EventCallbackDefinition>)
Creates a callback group allowing the provided callbacks to be registered and unregistered all at once on any VisualElement.
public EventCallbackGroup(ReadOnlySpan<EventCallbackDefinition> callbacks)
Parameters
The callbacks included in this group.