![]() |
BomberUnits
...a Unity learning project
|
Manages all UI interactions and transitions. More...
Inheritance diagram for UIManager:
Collaboration diagram for UIManager:Public Member Functions | |
| void | RegisterMainMenuSM (MainMenuStateMachine sm) |
| void | Awake () |
| Awake is called even before Start, so do checks and singleton assignment here. | |
| void | LaunchBtnPresse () |
| void | QuitBtnPressed () |
| Used for ending the game application. | |
| void | ConnectBtnPressed () |
| Used for the 'GoOnline' button. | |
| void | DisconnectBtnPressed () |
| Used for disconnecting intentionally from the menu. | |
| void | JoinBtnPressed () |
| Used for the join button on the host screen. | |
Static Public Member Functions | |
| static UIManager | Get () |
| static MainMenuStateMachine | GetMainMenuSM () |
Private Attributes | |
| MainMenuStateMachine | mainMenuInstance = null |
Static Private Attributes | |
| static UIManager | instance |
| Singleton pattern instance. | |
Manages all UI interactions and transitions.
Menu page management: Each page is represented by a page object and associated state of the UI. Normally these correspond 1:1, so a change in state is change in page.
Definition at line 13 of file UIManager.cs.