unity-menustack  0.1.0
A way to track unity menu navigation that doesn't suck too much
Public Member Functions | Protected Member Functions | List of all members
MenuStack.Navigation.BackMenuNavigator Class Reference

Represents a menu navigator that goes back (effectively closing the current menu) in the MenuRoot More...

Inheritance diagram for MenuStack.Navigation.BackMenuNavigator:
MenuStack.Navigation.BaseMenuNavigator MenuStack.Navigation.INavigator

Public Member Functions

override void Navigate ()
 Triggers navigation More...
 

Protected Member Functions

override Menu GetNavigationLocation ()
 Not implemented More...
 

Detailed Description

Represents a menu navigator that goes back (effectively closing the current menu) in the MenuRoot

Member Function Documentation

◆ GetNavigationLocation()

override Menu MenuStack.Navigation.BackMenuNavigator.GetNavigationLocation ( )
protectedvirtual

Not implemented

Since the BackMenuNavigator overrides navigate to make a raw call to the MenuRoot we do not actually need the implemented GetNavigationLocation - however, it must have some implementation because it's an abstract method in BaseMenuNavigator (by design, navigators should not use this pattern) but back is super special :)

Returns

Implements MenuStack.Navigation.BaseMenuNavigator.

◆ Navigate()

override void MenuStack.Navigation.BackMenuNavigator.Navigate ( )
virtual

Triggers navigation

Reimplemented from MenuStack.Navigation.BaseMenuNavigator.


The documentation for this class was generated from the following file: