Search Results for

    Show / Hide Table of Contents

    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

    Extension Methods

    DewGUI.SetExpandHeight<T>(T, bool)
    DewGUI.SetExpandHeight<T>(T, float)
    DewGUI.SetExpandWidth<T>(T, bool)
    DewGUI.SetExpandWidth<T>(T, float)
    DewGUI.SetHeight<T>(T, float)
    DewGUI.SetText<T>(T, string)
    DewGUI.SetTextLocalized<T>(T, string)
    DewGUI.SetWidth<T>(T, float)
    In This Article
    Back to top Shape of Dreams API Documentation