<Menu>
A menu template.
Menu templates are used by 'Show interactive menu' actions to build menus with an arbitrary number of options.
Attribute | Description | Type |
name | [Required] A unique name for this menu template | String |
Remarks: Menu will be automatically sized to match the game's resolution.
Any child objects will be rendered behind the buttons.
Child tags | Description | Count |
<Buttons> | Button information | |
<Meta> | Meta information | |
<Object> | Child objects |
<Buttons>
Button style information
Attribute | Description | Type |
button | [Required] Name of a button asset to use | String |
size | Custom button size ("width, height") | Vector2 |
spacing | Vertical spacing between buttons in pixels | Integer |
Example
<Menu name="My menu template">
<Buttons button="My button" size="640,50" />
</Menu>