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