Files
PlanetFleet/Assets/Scripts/Gui/mapEditorMenu.lua
T

28 lines
484 B
Lua

Size = {x = 150, y = 40}
numGui = 3
gui = {
{
pos = {x = 110, y = 40, z = 0},
size = Size,
guiType = GuiType.BUTTON,
name = 'New map',
buttonType = ButtonType.NEW_MAP
},
{
pos = {x = 110, y = 90, z = 0},
size = Size,
guiType = GuiType.BUTTON,
name = 'Load map',
buttonType = ButtonType.LOAD_MAP
},
{
pos = {x = 110, y = 140, z = 0},
size = Size,
guiType = GuiType.BUTTON,
name = 'Back',
buttonType = ButtonType.BACK,
screen = 'mainMenu.lua'
}
}