PointerLeaveEvent
This event is sent when a pointer exits an element and all of its descendants. The event does not trickle down and does not bubble up.
Read time 3 minutesLast updated 2 days ago
Definition
- Type: Class
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
- Inherits from: PointerEventBase<PointerLeaveEvent>
- Implements: IDisposable, IPointerEvent
public sealed class PointerLeaveEvent : PointerEventBase<PointerLeaveEvent>, IDisposable, IPointerEvent
Constructors
Constructor | Description |
|---|---|
| PointerLeaveEvent() | Constructor. Avoid creating new event instances. Instead, use GetPooled() to get an instance from a pool of reusable event instances. |
Methods
Method | Description |
|---|---|
| Init | Resets the event members to their initial values. |