Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


RepeatButton

Constructor.
Read time 1 minuteLast updated 6 days ago

Definition

RepeatButton()

Constructor.
public RepeatButton()

RepeatButton(Action, long, long)

Constructor.
public RepeatButton(Action clickEvent, long delay, long interval)

Parameters

clickEvent

The action to execute when the button is pressed.

delay

The initial delay before the action is executed for the first time. Value is defined in milliseconds.

interval

The interval between each execution of the action. Value is defined in milliseconds.