Experimental: this API is experimental and might be changed or removed in the future.

RepeatButton.SetAction

切换到手册
public void SetAction (Action clickEvent, long delay, long interval);

参数

clickEventThe action to execute.
delayThe initial delay before the action is executed for the first time.
intervalThe interval between each execution of the action.

描述

Set the action that should be executed when the button is pressed.