Interface ICancelHandler
Interface to implement if you wish to receive OnCancel callbacks.
Namespace: UnityEngine.EventSystems
Assembly: UnityEngine.UI.dll
Syntax
public interface ICancelHandler : IEventSystemHandler
Remarks
Criteria for this event is implementation dependent. For example see StandAloneInputModule.
Methods
OnCancel(BaseEventData)
Called by the EventSystem when a Cancel event occurs.
Declaration
void OnCancel(BaseEventData eventData)
Parameters
| Type | Name | Description |
|---|---|---|
| BaseEventData | eventData | The event data for the cancel. |