文档

Unity Engine

Unity Engine

PointerCancelEvent

This event is sent when pointer interaction is cancelled.
阅读时间3 分钟最后更新于 1 个月前

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