Class NavAction
Navigation actions provide a level of indirection between your navigation code and the underlying destinations.
This allows you to define common actions that change their destination or Nav
The Nav
Inherited Members
Namespace: Unity.AppUI.Navigation
Assembly: Unity.AppUI.Navigation.dll
Syntax
[Serializable]
public class NavAction : NavGraphViewNode
Properties
defaultArguments
The default arguments to be used when navigating to this action
Declaration
public List<Argument> defaultArguments { get; set; }
Property Value
destination
The ID of the destination that should be navigated to when this action is used
Declaration
public NavGraphViewHierarchicalNode destination { get; set; }
Property Value
Type | Description |
---|---|
Nav |
options
The NavOptions to be used by default when navigating to this action
Declaration
public NavOptions options { get; set; }
Property Value
Type | Description |
---|---|
Nav |
Methods
MergeArguments(params Argument[])
Merge the default arguments with the provided arguments.
Declaration
public Argument[] MergeArguments(params Argument[] arguments)
Parameters
Type | Name | Description |
---|---|---|
Argument[] | arguments | The arguments to merge with the default arguments. |
Returns
Type | Description |
---|---|
Argument[] | The merged arguments. |