docs.unity3d.com
    Show / Hide Table of Contents

    Interface INavVisualController

    Interface for a navigation visual controller. A navigation visual controller is responsible for setting up the visual elements of a navigation graph. This includes the bottom navigation bar, the app bar and the drawer.

    Namespace: Unity.AppUI.Navigation
    Syntax
    public interface INavVisualController

    Methods

    SetupAppBar(AppBar, NavDestination, NavController)

    Setup the app bar.

    Declaration
    void SetupAppBar(AppBar appBar, NavDestination destination, NavController navController)
    Parameters
    Type Name Description
    AppBar appBar

    The app bar to setup.

    NavDestination destination

    The destination to setup the app bar for.

    NavController navController

    The navigation controller.

    SetupBottomNavBar(BottomNavBar, NavDestination, NavController)

    Setup the bottom navigation bar.

    Declaration
    void SetupBottomNavBar(BottomNavBar bottomNavBar, NavDestination destination, NavController navController)
    Parameters
    Type Name Description
    BottomNavBar bottomNavBar

    The bottom navigation bar to setup.

    NavDestination destination

    The destination to setup the bottom navigation bar for.

    NavController navController

    The navigation controller.

    SetupDrawer(Drawer, NavDestination, NavController)

    Setup the drawer.

    Declaration
    void SetupDrawer(Drawer drawer, NavDestination destination, NavController navController)
    Parameters
    Type Name Description
    Drawer drawer

    The drawer to setup.

    NavDestination destination

    The destination to setup the drawer for.

    NavController navController

    The navigation controller.

    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