Class UI_HoldToRapidClickButton
Inheritance
object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
UI_HoldToRapidClickButton
Namespace: Global
Assembly: Dew.Core.dll
Syntax
public class UI_HoldToRapidClickButton : MonoBehaviour
Fields
onClick
Declaration
[InfoBox("Subscribe to this instead of Button's to prevent double clicks.", InfoMessageType.Info, null)]
public UnityEvent onClick
Field Value
| Type | Description |
|---|---|
| UnityEngine.Events.UnityEvent |
Methods
OnPointerDown(PointerEventData)
Declaration
public void OnPointerDown(PointerEventData eventData)
Parameters
| Type | Name | Description |
|---|---|---|
| UnityEngine.EventSystems.PointerEventData | eventData |
OnPointerUp(PointerEventData)
Declaration
public void OnPointerUp(PointerEventData eventData)
Parameters
| Type | Name | Description |
|---|---|---|
| UnityEngine.EventSystems.PointerEventData | eventData |