private void MainMenu_OnClose(MainMenu mainMenu) { state[0].opened = false; notify = true; }
private void MainMenu_OnOpen(MainMenu mainMenu) { state[0].opened = true; }