Clickable Constructor

Declaration

public Clickable(Unity.Android.Gradle.Manifest.Action handler, long delay, long interval);

Parameters

handler The method to call when the clickable is clicked.
delay Determines when the event begins. Value is defined in milliseconds. Applies if delay is greater than 0.
interval Determines the time delta between event repetition. Value is defined in milliseconds. Applies if interval is greater than 0.

Description

Constructor.

When you use this constructor, a click event is invoked repeatedly at regular intervals for as long as the pointer is held down on the target element.

Additional resources: Clickable.clicked


Declaration

public Clickable(Action<EventBase> handler);

Parameters

handler The method to call when the clickable is clicked.

Description

Constructor.

When you use this constructor, the event (usually a PointerUpEvent or a NavigationSubmitEvent) that triggered the click is passed as an argument to the handler method.

Additional resources: Clickable.clickedWithEventInfo, Clickable.clicked


Declaration

public Clickable(Unity.Android.Gradle.Manifest.Action handler);

Parameters

handler The method to call when the clickable is clicked.

Description

Constructor.

Additional resources: Clickable.clicked


Did you find this page useful? Please give it a rating: