unity-menustack
0.1.0
A way to track unity menu navigation that doesn't suck too much
|
Represents a menu navigator that navigates to the first Menu in the MenuRoot thats name matches some regex More...
Public Member Functions | |
Menu | FindFirstRecursively (Transform root, Regex match) |
Internal recursive matcher More... | |
Public Member Functions inherited from MenuStack.Navigation.BaseMenuNavigator | |
virtual void | Navigate () |
Triggers navigation More... | |
Public Attributes | |
string | Regex |
The regex string with which we try to match menus More... | |
Protected Member Functions | |
override Menu | GetNavigationLocation () |
Provides a location to navigate to, when navigation occurs More... | |
Represents a menu navigator that navigates to the first Menu in the MenuRoot thats name matches some regex
Internal recursive matcher
root | the root level transform to start matching |
match | the regex to match against |
null
|
protectedvirtual |
Provides a location to navigate to, when navigation occurs
Implements MenuStack.Navigation.BaseMenuNavigator.
string MenuStack.Navigation.RegexMenuNavigator.Regex |
The regex string with which we try to match menus
We'll start at MenuRoot and match the first found