Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


RepeatButton

A button that executes an action repeatedly while it is pressed. For more information, refer to UXML element RepeatButton.
Read time 6 minutesLast updated 2 days ago

Definition

public class RepeatButton : TextElement, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IVisualElementScheduler, IBindable, INotifyValueChanged<string>, ITextEdition, ITextElementExperimentalFeatures, IExperimentalFeatures, ITextSelection

Static Fields

Value

Description

ussClassNameUSS class name of elements of this type.

Constructors

Constructor

Description

RepeatButton()Constructor.
RepeatButton(System.Action,System.Int64,System.Int64)Constructor.

Methods

Method

Description

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

Inheritance

Inherited Members