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