EventCallbackGroup
Creates a callback group allowing the provided callbacks to be registered and unregistered all at once on any VisualElement.
Read time 1 minuteLast updated 10 days ago
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.