PointerEnterEvent
This event is sent when a pointer enters a VisualElement or one 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<PointerEnterEvent>
- Implements: IDisposable, IPointerEvent
public sealed class PointerEnterEvent : PointerEventBase<PointerEnterEvent>, IDisposable, IPointerEvent
Constructors
Constructor | Description |
|---|---|
| PointerEnterEvent() | 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. |