> For the complete documentation index, see [llms.txt](https://vsxgames.gitbook.io/universal-vehicle-combat/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://vsxgames.gitbook.io/universal-vehicle-combat/menus/creating-menus.md).

# Creating Menus

To create a new menu:

1. Create a new game object and add a **Simple Menu Manager** component to a game object in your scene.
2. Add the objects you want to activate when the menu opens to the *UI Objects* list.
3. Add a **Game State Enabler** component and add to its *Compatible Game States* list the game state in which you want the menu to open
4. Add an entry to the *On Compatible Game State Entered* event, drag in the **Simple Menu Manager** component you added above, and select its *Open Menu* function
5. Add an entry to the *On Incompatible Game State Entered* event, drag in the **Simple Menu Manager** component you added above, and select its *Close Menu* function
