{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Method PopBackStack | App UI | 0.5.5
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method PopBackStack

    PopBackStack()

    Pop the current destination from the back stack and navigate to the previous destination.

    Declaration
    public bool PopBackStack()
    Returns
    Type Description
    bool

    True if the back stack was popped, false otherwise.

    PopBackStack(string, bool, bool)

    Pop the current destination from the back stack and navigate to the given destination.

    Declaration
    public bool PopBackStack(string route, bool inclusive = false, bool saveState = false)
    Parameters
    Type Name Description
    string route

    The route of the destination to navigate to.

    bool inclusive

    Whether to pop the destination with the given route or not.

    bool saveState

    Whether to save the state of the popped destinations or not before popping them.

    Returns
    Type Description
    bool

    True if the back stack was popped, false otherwise.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)