Scripting API

RepeatButton

class in UnityEngine.UIElements · UnityEngine.UIElementsModule · inherits from TextElement

3 of 3 of Unity's membersUnity's documentation
In Tassix

A button that clicks while held: once, then again after a delay, every interval.

Constructors 1

RepeatButton()
RepeatButton(Action clickEvent, long delay, long interval)

Fields 1

static readonly string ussClassName

Methods 1

void SetAction(Action clickEvent, long delay, long interval)