The Main Menu gives creators a very simple way to create the main menu for players that shows up when loading into the game.
The component is simple to use and requires no scripting knowledge to use.
How to use
Drag the Main Menu component into the Hierarchy.
There are various custom properties on the root of the template.
Offset between each menu item.
If enabled, then the cursor will be visible when the menu is open.
Menu option color.
Menu option color when hovering over it.
Default menu option font size.
Hovered menu option font size.
The speed the menu fades in.
The speed the menu fades out.
If enabled the player will not be able to move until the menu is closed.
Creating Menu Panels
In the UI Container in the Hierarchy, there is a Panel that contains all the panels that can be opened. These can be styled to how you want. To close a panel a close button is required. See the default panels that come with the component.
Creating Menu Options
To create menu options, you will need to add them to the Main Menu data table in project content.
The text to display in the menu.
The reference to the UI panel for this menu option to open.
The event to broadcast when the menu option is clicked.
If enabled, then the menu will close when this option is clicked.