docs.unity3d.com
    Show / Hide Table of Contents

    Enum PopupPresentationType

    By providing a type prop, you can specify the type of Dialog that is rendered by your DialogTrigger. Note that pressing the Esc key will close the Dialog regardless of its type.

    Namespace: Unity.AppUI.UI
    Syntax
    public enum PopupPresentationType

    Fields

    Name Description Value
    Modal

    Modal Dialogs create an underlay that blocks access to the underlying user interface until the Dialog is closed. Sizing options can be found on the Dialog page. Focus is trapped inside the Modal.


    0
    Popover

    If a Dialog without an underlay is needed, consider using a Popover Dialog. See Dialog placement for how you can customize the positioning. Note that popovers are automatically rendered as modals on mobile by default. See the mobile type option for more information.


    1
    Tray

    Tray Dialogs are typically used to portray information on mobile devices or smaller screens.


    2
    FullScreen

    Fullscreen Dialogs are a fullscreen variant of the Modal Dialog, only revealing a small portion of the page behind the underlay. Use this variant for more complex workflows that do not fit in the available Modal Dialog sizes. This variant does not support dismissible.


    3
    FullScreenTakeOver

    Fullscreen takeover Dialogs are similar to the fullscreen variant except that the Dialog covers the entire screen.


    4
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023