MouseLeaveWindowEvent
Event sent when the mouse pointer exits a window. The event bubbles up but does not trickle down.
Read time 3 minutesLast updated 4 days ago
Definition
- Type: Class
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
- Inherits from: MouseEventBase<MouseLeaveWindowEvent>
- Implements: IDisposable, IMouseEvent
public class MouseLeaveWindowEvent : MouseEventBase<MouseLeaveWindowEvent>, IDisposable, IMouseEvent
Constructors
Constructor | Description |
|---|---|
| MouseLeaveWindowEvent() | 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. |
Static Methods
Method | Description |
|---|---|
| GetPooled | Gets an event from the event pool and initializes it with the given values. Use this function instead of creating new events. Events obtained using this method need to be released back to the pool. You can use |