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 NavOptions based on the current NavDestination.
The NavOptions associated with a NavAction are used by default when navigating to this action via Navigate(string, NavOptions, params Argument[]).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 NavAction : NavGraphViewNode
Properties
defaultArguments
The default arguments to be used when navigating to this action
Declaration
public List<Argument> defaultArguments { get; set; }
Property Value
Type | Description |
---|---|
List<Argument> |
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 |
---|---|
NavGraphViewHierarchicalNode |
options
The NavOptions to be used by default when navigating to this action
Declaration
public NavOptions options { get; set; }
Property Value
Type | Description |
---|---|
NavOptions |