文档

Unity Engine

Unity Engine

Label

Provides an Element displaying text. For more information, refer to UXML element Label.
阅读时间9 分钟最后更新于 9 小时前

Definition

[Icon("UIToolkit/Icons/Label.png")][UxmlElement(libraryPath = "Controls")]public class Label : TextElement, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IVisualElementScheduler, ICustomStyle, IBindable, INotifyValueChanged<string>, ITextEdition, ITextElementExperimentalFeatures, IExperimentalFeatures, ITextSelection

Static Fields

Value

Description

ussClassNameUSS class name of elements of this type.

Constructors

Constructor

Description

Label()Constructs a Label with no initial text.
Label(System.String)Constructs a Label displaying the specified text.

Inheritance

Inherited Members