Class MouseLeaveEvent
Event sent when the mouse pointer exits an element and all its descendent elements. The event is cancellable, it does not trickle down, and it does not bubble up.
Inheritance
MouseLeaveEvent
Inherited Members
Namespace: UnityEngine.UIElements
Syntax
public class MouseLeaveEvent : MouseEventBase<MouseLeaveEvent>, IMouseEvent, IMouseEventInternal
Constructors
MouseLeaveEvent()
Constructor. Avoid creating new event instances. Instead, use GetPooled() to get an instance from a pool of reusable event instances.
Declaration
public MouseLeaveEvent()
Methods
Init()
Resets the event members to their initial values.
Declaration
protected override void Init()
Overrides
UnityEngine.UIElements.MouseEventBase<UnityEngine.UIElements.MouseLeaveEvent>.Init()