Learn / Documentation / Script Reference / PopupDisplayOn
Manual

PopupDisplayOn

enumeration in Doozy.Engine.UI

Description

The PopupDisplayOn enum describes UIPopup display target options. Where should the UIPopup be shown (target UICanvas).
See Also: UIPopup, UICanvas

Properties

  • PopupCanvas – Before showing the UIPopup, the system tries to get the PopupCanvas. If the PopupCanvas does not exist, it will create a new Canvas and set its Render Mode to Screen Space – Overlay, then returns a reference to it.

  • TargetCanvas – Before showing the UIPopup, the system looks for the specified target canvas by searching for a given canvasName. If it does not find it, it returns a reference to the MasterCanvas UICanvas.