com.rocket.rocketnavigation
v1.3.3
Published
UI/Navigation API standardization
Downloads
56
Readme
Rocket Navigation
A standardized UI/Navigation system for in house Rocket Games projects
Features
- Hierarchy management by separating UI into categories
- Panels: Entire Page
- Popup: Smaller UI components that open on top of panels
- Overlays: Smaller UI components that open over everything else. Useful for notifications
- Popup queue with priority management
- Unified API
Panels
Panels are UI components that cover the entire screen, define the general view at a certain app state.
To open a panel, use Nav.Panel.ChangePanel
method. It has several overloads:
ChangePanel(string, NavigationType, PanelTransitionType)
ChangePanel(PanelParams, PanelTransitionType)
ChangePanel(PanelParams)
Creating A New Panel
- Create a class called
<Your Panel Name>PanelView
and inherit fromPanelView
class - Create a class called
<Your Panel Name>PanelParams
and inherit frommPanelParams
class - If you don't have a
<Context Name>ContentTypes
class