{!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} Class NavOptions | App UI | 0.5.5
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class NavOptions

    NavOptions stores special options for navigate actions

    Inheritance
    object
    NavOptions
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.AppUI.Navigation
    Assembly: solution.dll
    Syntax
    [Serializable]
    public class NavOptions

    Properties

    Name Description
    enterAnim

    The animation to use when navigating to the destination.

    exitAnim

    The animation to use when navigating away from the destination.

    launchSingleTop

    Whether this navigation action should launch as single-top (i.e., there will be at most one copy of a given destination on the top of the back stack).

    popEnterAnim

    The custom enter Animation/Animator that should be run when this destination is popped from the back stack.

    popExitAnim

    The custom exit Animation/Animator that should be run when this destination is popped from the back stack.

    popUpToInclusive

    Whether the target destination in PopUpTo should be popped from the back stack.

    popUpToRoute

    Route for the destination to pop up to before navigating. When set, all non-matching destinations should be popped from the back stack.

    popUpToSaveState

    Whether the back stack and the state of all destinations between the current destination and popUpToId should be saved for later restoration

    popUpToStrategy

    Strategy for popping up to a destination.

    restoreState

    Whether this navigation action should restore any state previously saved by Builder.setPopUpTo or the popUpToSaveState attribute.

    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)