Skip to content

Class: UI_HoldToRapidClickButton ​

  • Namespace: Global
  • Assembly: Dew.Core.dll
csharp
public class UI_HoldToRapidClickButton : MonoBehaviour

Fields ​

NameDeclarationDescription
onClick`[InfoBox("Subscribe to this instead of Button's to prevent double clicks.", InfoMessageType.Info, null)]
public UnityEvent onClick`

Methods ​

OnPointerDown(PointerEventData) ​

csharp
public void OnPointerDown(PointerEventData eventData)

Parameters:

NameTypeDescription
eventDataUnityEngine.EventSystems.PointerEventData

OnPointerUp(PointerEventData) ​

csharp
public void OnPointerUp(PointerEventData eventData)

Parameters:

NameTypeDescription
eventDataUnityEngine.EventSystems.PointerEventData

Maintained by the Shape of Dreams Modding Community