docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface INavigationScreen

    Interface for a navigation screen. A navigation screen is a screen that can be navigated to and from.

    Namespace: Unity.AppUI.Navigation
    Assembly: Unity.AppUI.Navigation.dll
    Syntax
    public interface INavigationScreen

    Methods

    OnEnter(NavController, NavDestination, Argument[])

    Called when the navigation controller enters a destination.

    Declaration
    void OnEnter(NavController controller, NavDestination destination, Argument[] args)
    Parameters
    Type Name Description
    NavController controller

    The navigation controller that is entering the destination.

    NavDestination destination

    The destination that is being entered.

    Argument[] args

    The arguments passed to the destination.

    See Also
    NavigationScreen

    OnExit(NavController, NavDestination, Argument[])

    Called when the navigation controller exits a destination.

    Declaration
    void OnExit(NavController controller, NavDestination destination, Argument[] args)
    Parameters
    Type Name Description
    NavController controller

    The navigation controller that is exiting the destination.

    NavDestination destination

    The destination that is being exited.

    Argument[] args

    The arguments passed to the destination.

    See Also
    NavigationScreen

    See Also

    NavigationScreen
    In This Article
    Back to top
    Copyright © 2025 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)