RepeatButton.SetAction
public void SetAction(Action clickEvent,
long delay,
long interval);
Parameters
| clickEvent | The action to execute. | |
| delay | The initial delay before the action is executed for the first time. | |
| interval | The interval between each execution of the action. |
Description 描述
Set the action that should be executed when the button is pressed.