Class TMP_ScrollbarEventHandler
Implements
IPointerClickHandler
ISelectHandler
IDeselectHandler
IEventSystemHandler
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: TMPro
Assembly: Unity.TextMeshPro.dll
Syntax
public class TMP_ScrollbarEventHandler : MonoBehaviour, IPointerClickHandler, ISelectHandler, IDeselectHandler, IEventSystemHandler
Fields
isSelected
Declaration
public bool isSelected
Field Value
Type | Description |
---|---|
bool |
Methods
OnDeselect(BaseEventData)
Called by the EventSystem when a new object is being selected.
Declaration
public void OnDeselect(BaseEventData eventData)
Parameters
Type | Name | Description |
---|---|---|
BaseEventData | eventData |
OnPointerClick(PointerEventData)
Use this callback to detect clicks.
Declaration
public void OnPointerClick(PointerEventData eventData)
Parameters
Type | Name | Description |
---|---|---|
PointerEventData | eventData |
OnSelect(BaseEventData)
Declaration
public void OnSelect(BaseEventData eventData)
Parameters
Type | Name | Description |
---|---|---|
BaseEventData | eventData |
Implements
UnityEngine.EventSystems.IPointerClickHandler
UnityEngine.EventSystems.ISelectHandler
UnityEngine.EventSystems.IDeselectHandler
UnityEngine.EventSystems.IEventSystemHandler