Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#
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);

Parameters

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

Description

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

Did you find this page useful? Please give it a rating: