ドキュメント

Unity Engine

Unity Engine

TextField

A TextField accepts and displays text input. For more information, refer to UXML element TextField.
読み終わるまでの所要時間 10 分最終更新 12時間前

Definition

[UxmlElement(libraryPath = "Controls")][Icon("UIToolkit/Icons/TextField.png")]public class TextField : TextInputBaseField<string>, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle, IBindable, IMixedValueSupport, INotifyValueChanged<string>

Static Fields

Value

Description

inputUssClassNameUSS class name of input elements in elements of this type.
labelUssClassNameUSS class name of labels in elements of this type.
ussClassNameUSS class name of elements of this type.

Constructors

Properties

Property

Description

multilineSet this to true to allow multiple lines in the textfield and false if otherwise.
valueThe string currently being exposed by the field.

Inheritance

Inherited Members