Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PointerUpEvent

This event is sent when a pointer's last pressed button is released.
Read time 3 minutesLast updated 4 days ago

Definition

public sealed class PointerUpEvent : PointerEventBase<PointerUpEvent>, IDisposable, IPointerEvent

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. Disabled elements won't receive this event by default.
See PointerEventBase<T> to see how PointerUpEvent relates to other pointer events.

Constructors

Constructor

Description

PointerUpEvent()Constructor. Avoid creating new event instances. Instead, use GetPooled() to get an instance from a pool of reusable event instances.

Methods

Method

Description

InitResets the event members to their initial values.

Inheritance

Inherited Members