Simple UI management system:
- Add New panel automatic hide previous.
- Redo Automatic hide current panel and show previous
- Add
PanelManager_broker.cs
to main panel (ThisPanelManager_broker.cs
at start will clean panel history and add himself to manager like mainPanel) - For GoTo panel: Add to UnityEvent as parameter -
Panel_Manager.asset/GoTo(GameObject)
(ScriptableObject) - For Redo panel: Add to UnityEvent as parameter -
Panel_Manager/asset.Redo()
(ScriptableObject)
- Use
PanelHider_Executor.cs
+PanelHide_Event.cs
+PanelHider_Broker.cs
PanelHider_Broker.cs
- subscribe to event inPanelHide_Event.cs
PanelHider_Executor.cs
- execute event inPanelHide_Event.cs
Contains 3 Samples.