File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -32,23 +32,21 @@ public class NavigationStack : MonoBehaviour
3232 public GameObject top => items . Count > 0 ? items . Peek ( ) : null ;
3333
3434 #if ENABLE_INPUT_SYSTEM
35-
3635 /// <summary>
3736 /// The input action that handles backwards navigation by popping items
3837 /// off the stack.
3938 /// </summary>
4039 [ Tooltip ( "The input action that handles backwards navigation by popping items off the stack." ) ]
4140 public InputAction backNavigationInput = new InputAction ( "MenuBackNavigation" , InputActionType . Button ) ;
41+ #endif
4242
43- #elif ENABLE_LEGACY_INPUT_MANAGER
44-
43+ #if ENABLE_LEGACY_INPUT_MANAGER
4544 /// <summary>
4645 /// The input button that handles backwards navigation by popping items
4746 /// off the stack.
4847 /// </summary>
4948 [ Tooltip ( "The input button that handles backwards navigation by popping items off the stack." ) ]
5049 public string backNavigationInputButton = "Cancel" ;
51-
5250 #endif
5351
5452 /// <summary>
You can’t perform that action at this time.
0 commit comments