Class Label
Provides an Element displaying text.
Inherited Members
Namespace: UnityEngine.UIElements
Syntax
public class Label : TextElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, IBindable, ITextElement, INotifyValueChanged<string>
Constructors
Label()
Constructs a label.
Declaration
public Label()
Label(String)
Constructs a label.
Declaration
public Label(string text)
Parameters
Type | Name | Description |
---|---|---|
String | text | The text to be displayed. |
Fields
ussClassName
USS class name of elements of this type.
Declaration
public static readonly string ussClassName
Field Value
Type | Description |
---|---|
String |