A collection of scripts that add some additional functionality to the NGUI framework
It includes:
- Panel controller functionality similar to UIViewController (following an MVC paradigm).
- A panel navigation stack similar to UINavigationController.
- Playing tween components in sequences or concurrent groups.
- Additional tween components for label counters and sliders.
To use UINavigationController you will need to:
- Attach the UINavigationController component to your UIRoot.
- Create a prefab for every panel in your game (essentially every screen).
- Optionally add a UIPanelController sub-class to every panel.
- Pass the list of panel prefabs to the UINavigationController component.
In a UIPanelController you can transition to a new panel by calling:
this.navigationController.PushPanel("InGamePanel", optionalPayload);