Documentation

Unity Engine


User Manual

Script Reference

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.
Read time 6 minutesLast updated 2 days ago

Definition

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

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