ドキュメント

Unity Engine

Unity Engine

PopupWindow

Styled visual text element. This element doesn't have any functionality. It's just a container with a border and a title, rather than a window or popup. For more information, refer to UXML element PopupWindow.
読み終わるまでの所要時間 8 分最終更新 1ヶ月前

Definition

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

Remarks

The following screenshot is a visual representation of the popup window:
Popup (PopupWindow)
The following code generates the previous popup window:

Examples

var popupWindow = new UnityEngine.UIElements.PopupWindow() { text = "Title" };popupWindow.Add(new Button());

Static Fields

Value

Description

contentUssClassNameUSS class name of content elements in elements of this type.
ussClassNameUSS class name of elements of this type.

Constructors

Constructor

Description

PopupWindow()Initializes and returns an instance of PopupWindow.

Inheritance

Inherited Members