文档

Unity Engine

Unity Engine

RepeatButton

Constructor.
阅读时间1 分钟最后更新于 1 个月前

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.