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
Inherited Members
Namespace: Unity.AppUI.Navigation
Assembly: Unity.AppUI.Navigation.dll
Syntax
[Serializable]
public class NavDestination : NavGraphViewHierarchicalNode
Properties
arguments
The arguments supported by this destination.
Declaration
public List<Argument> arguments { get; set; }
Property Value
Type | Description |
---|---|
List<Argument> |
destinationTemplate
The template that defines the screen to use when navigating to this destination.
Declaration
public NavDestinationTemplate destinationTemplate { get; set; }
Property Value
Type | Description |
---|---|
NavDestinationTemplate |
Methods
MergeArguments(params Argument[])
Merge the default arguments with the provided arguments.
Declaration
public Argument[] MergeArguments(params Argument[] args)
Parameters
Type | Name | Description |
---|---|---|
Argument[] | args | The arguments to merge with the default arguments. |
Returns
Type | Description |
---|---|
Argument[] | The merged arguments. |