Class NavOptions
NavOptions stores special options for navigate actions
Inherited Members
Namespace: Unity.AppUI.Navigation
Assembly: solution.dll
Syntax
[Serializable]
public class NavOptions
Properties
Name | Description |
---|---|
enterAnim | The animation to use when navigating to the destination. |
exitAnim | The animation to use when navigating away from the destination. |
launchSingleTop | Whether this navigation action should launch as single-top (i.e., there will be at most one copy of a given destination on the top of the back stack). |
popEnterAnim | The custom enter Animation/Animator that should be run when this destination is popped from the back stack. |
popExitAnim | The custom exit Animation/Animator that should be run when this destination is popped from the back stack. |
popUpToInclusive | Whether the target destination in PopUpTo should be popped from the back stack. |
popUpToRoute | Route for the destination to pop up to before navigating. When set, all non-matching destinations should be popped from the back stack. |
popUpToSaveState | Whether the back stack and the state of all destinations between the current destination and popUpToId should be saved for later restoration |
popUpToStrategy | Strategy for popping up to a destination. |
restoreState | Whether this navigation action should restore any state previously saved by Builder.setPopUpTo or the popUpToSaveState attribute. |