Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PointerCancelEvent

This event is sent when pointer interaction is cancelled.
Read time 3 minutesLast updated 2 days ago

Definition

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

Remarks

A PointerCancelEvent can trickle down or bubble up, but cannot be cancelled. Disabled elements won't receive this event by default.
See PointerEventBase<T> to see how PointerCancelEvent relates to other pointer events.

Constructors

Constructor

Description

PointerCancelEvent()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