Table of Contents

Interface IMultipleClicksHandler

Namespace
Fallencake.UI
Assembly
Fallencake.UI.dll
public interface IMultipleClicksHandler

Properties

OnClick

UnityEvent that is triggered when the button is pressed once. Note: Triggered on MouseUp after MouseDown on the same object.

OnButtonClickedEvent OnClick { get; set; }

Property Value

OnButtonClickedEvent

OnDoubleClick

UnityEvent that is triggered when the button is pressed twice for a short period of time.

OnButtonClickedEvent OnDoubleClick { get; set; }

Property Value

OnButtonClickedEvent

Methods

HandleDoubleClickCheck()

Method that handles the check for double click on button to trigger OnDoubleClick event. You can call it from OnPointerClick method.

void HandleDoubleClickCheck()