Class PointerUpEvent
This event is sent when a pointer's last pressed button is released.
Inheritance
PointerUpEvent
Inherited Members
Namespace: UnityEngine.UIElements
Syntax
public sealed class PointerUpEvent : PointerEventBase<PointerUpEvent>, IPointerEvent, IPointerEventInternal
Remarks
The last pressed button may or may not be the same button that triggered the PointerDownEvent.
A PointerUpEvent uses the default pointer event propagation path: it is trickled down, bubbled up and can be cancelled.
See PointerEventBase<T> to see how PointerUpEvent relates to other pointer events.
Constructors
PointerUpEvent()
Constructor. Avoid creating new event instances. Instead, use GetPooled() to get an instance from a pool of reusable event instances.
Declaration
public PointerUpEvent()
Methods
Init()
Resets the event members to their initial values.
Declaration
protected override void Init()
Overrides
UnityEngine.UIElements.PointerEventBase<UnityEngine.UIElements.PointerUpEvent>.Init()
PostDispatch(IPanel)
Declaration
protected override void PostDispatch(IPanel panel)
Parameters
Type | Name | Description |
---|---|---|
IPanel | panel |
Overrides
UnityEngine.UIElements.PointerEventBase<UnityEngine.UIElements.PointerUpEvent>.PostDispatch(UnityEngine.UIElements.IPanel)