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
NavDestination
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.AppUI.Navigation
Assembly: solution.dll
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 |
---|---|
bool |
showBackButton
Weathers or not to show the back button when navigating to this destination.
Declaration
public bool showBackButton { get; set; }
Property Value
Type | Description |
---|---|
bool |
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 |
---|---|
bool |
showDrawer
Weathers or not to show the drawer when navigating to this destination.
Declaration
public bool showDrawer { get; set; }
Property Value
Type | Description |
---|---|
bool |
showNavigationRail
Weathers or not to show the navigation rail when navigating to this destination.
Declaration
public bool showNavigationRail { get; set; }
Property Value
Type | Description |
---|---|
bool |
template
The screen to use when navigating to this destination.
Declaration
public string template { get; set; }
Property Value
Type | Description |
---|---|
string |