This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

RepeatButton Constructor

Declaration

public RepeatButton();

Declaration

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.
interval The interval between each execution of the action.

Description

Constructor.