Delegate EventCallback<TEventType>
Defines the structure of a callback that can be registered onto an element for an event type
Namespace: UnityEngine.UIElements
Syntax
public delegate void EventCallback<in TEventType>(TEventType evt);
Parameters
Type | Name | Description |
---|---|---|
TEventType | evt | The event instance |
Type Parameters
Name | Description |
---|---|
TEventType | The type of event to register the callback for |