docs.unity3d.com
    Show / Hide Table of Contents

    Class NavDestination

    NavDestination represents one node within an overall navigation graph.

    Destinations declare a set of actions that they support. These actions form a navigation API for the destination; the same actions declared on different destinations that fill similar roles allow application code to navigate based on semantic intent.

    Each destination has a set of arguments that will be applied when navigating to that destination. Any default values for those arguments can be overridden at the time of navigation.

    Inheritance
    Object
    Object
    ScriptableObject
    NavGraphViewNode
    NavGraphViewHierarchicalNode
    NavDestination
    Inherited Members
    NavGraphViewHierarchicalNode.parent
    NavGraphViewHierarchicalNode.actions
    NavGraphViewHierarchicalNode.label
    NavGraphViewNode.guid
    NavGraphViewNode.position
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(String)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(Object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, Boolean)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, Boolean)
    Object.Destroy(Object, Single)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, Boolean)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, Boolean)
    Object.FindObjectsByType(Type, FindObjectsSortMode)
    Object.FindObjectsByType(Type, FindObjectsInactive, FindObjectsSortMode)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, Single)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsSortMode)
    UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
    UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsInactive, UnityEngine.FindObjectsSortMode)
    Object.FindObjectOfType<T>()
    UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
    UnityEngine.Object.FindFirstObjectByType<T>()
    UnityEngine.Object.FindAnyObjectByType<T>()
    UnityEngine.Object.FindFirstObjectByType<T>(UnityEngine.FindObjectsInactive)
    UnityEngine.Object.FindAnyObjectByType<T>(UnityEngine.FindObjectsInactive)
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.FindFirstObjectByType(Type)
    Object.FindAnyObjectByType(Type)
    Object.FindObjectOfType(Type, Boolean)
    Object.FindFirstObjectByType(Type, FindObjectsInactive)
    Object.FindAnyObjectByType(Type, FindObjectsInactive)
    Object.ToString()
    Object.name
    Object.hideFlags
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.AppUI.Navigation
    Syntax
    [Serializable]
    public class NavDestination : NavGraphViewHierarchicalNode

    Properties

    arguments

    The arguments supported by this destination.

    Declaration
    public List<NavArgumentKeyValuePair> arguments { get; set; }
    Property Value
    Type Description
    List<NavArgumentKeyValuePair>

    showAppBar

    Weathers or not to show the app bar when navigating to this destination.

    Declaration
    public bool showAppBar { get; set; }
    Property Value
    Type Description
    Boolean

    showBackButton

    Weathers or not to show the back button when navigating to this destination.

    Declaration
    public bool showBackButton { get; set; }
    Property Value
    Type Description
    Boolean
    Remarks

    This property is ignored if showAppBar is false.

    showBottomNavBar

    Weathers or not to show the bottom navigation bar when navigating to this destination.

    Declaration
    public bool showBottomNavBar { get; set; }
    Property Value
    Type Description
    Boolean

    showDrawer

    Weathers or not to show the drawer when navigating to this destination.

    Declaration
    public bool showDrawer { get; set; }
    Property Value
    Type Description
    Boolean

    showNavigationRail

    Weathers or not to show the navigation rail when navigating to this destination.

    Declaration
    public bool showNavigationRail { get; set; }
    Property Value
    Type Description
    Boolean

    template

    The screen to use when navigating to this destination.

    Declaration
    public string template { get; set; }
    Property Value
    Type Description
    String
    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