Class PointerCancelEvent
This event is sent when pointer interaction is cancelled.
Inheritance
PointerCancelEvent
Inherited Members
Namespace: UnityEngine.UIElements
Syntax
public sealed class PointerCancelEvent : PointerEventBase<PointerCancelEvent>, IPointerEvent, IPointerEventInternal
Remarks
A PointerCancelEvent can trickle down or bubble up, but cannot be cancelled.
See PointerEventBase<T> to see how PointerCancelEvent relates to other pointer events.
Constructors
PointerCancelEvent()
Constructor. Avoid creating new event instances. Instead, use GetPooled() to get an instance from a pool of reusable event instances.
Declaration
public PointerCancelEvent()
Methods
Init()
Resets the event members to their initial values.
Declaration
protected override void Init()
Overrides
UnityEngine.UIElements.PointerEventBase<UnityEngine.UIElements.PointerCancelEvent>.Init()
PostDispatch(IPanel)
Declaration
protected override void PostDispatch(IPanel panel)
Parameters
Type | Name | Description |
---|---|---|
IPanel | panel |
Overrides
UnityEngine.UIElements.PointerEventBase<UnityEngine.UIElements.PointerCancelEvent>.PostDispatch(UnityEngine.UIElements.IPanel)