mirror of
https://github.com/enduro2d/enduro2d.git
synced 2026-01-06 11:51:00 +07:00
73 lines
2.2 KiB
JSON
73 lines
2.2 KiB
JSON
{
|
|
"prototype" : "../prefabs/scene_prefab.json",
|
|
"children" : [{
|
|
"prototype" : "../prefabs/background_prefab.json"
|
|
},{
|
|
"prototype" : "../prefabs/camera_prefab.json"
|
|
},{
|
|
"prototype" : "../prefabs/panel_prefab.json",
|
|
"components" : {
|
|
"sprite_renderer" : {
|
|
"scale" : [4,2]
|
|
}
|
|
},
|
|
"children" : [{
|
|
"prototype" : "../prefabs/layout_prefab.json",
|
|
"components" : {
|
|
"layout" : {
|
|
"justify_content" : "space_evenly"
|
|
},
|
|
"widget" : {
|
|
"size" : [400,200]
|
|
}
|
|
},
|
|
"children" : [{
|
|
"prototype" : "../prefabs/widget_prefab.json",
|
|
"components" : {
|
|
"widget" : {
|
|
"size" : [66,113]
|
|
}
|
|
},
|
|
"children" : [{
|
|
"prototype" : "../prefabs/ship_prefab.json",
|
|
"components" : {
|
|
"actor" : {
|
|
"translation" : [33,56.5]
|
|
}
|
|
}
|
|
}]
|
|
},{
|
|
"prototype" : "../prefabs/widget_prefab.json",
|
|
"components" : {
|
|
"widget" : {
|
|
"size" : [66,113]
|
|
}
|
|
},
|
|
"children" : [{
|
|
"prototype" : "../prefabs/ship_prefab.json",
|
|
"components" : {
|
|
"actor" : {
|
|
"translation" : [33,56.5]
|
|
}
|
|
}
|
|
}]
|
|
},{
|
|
"prototype" : "../prefabs/widget_prefab.json",
|
|
"components" : {
|
|
"widget" : {
|
|
"size" : [66,113]
|
|
}
|
|
},
|
|
"children" : [{
|
|
"prototype" : "../prefabs/ship_prefab.json",
|
|
"components" : {
|
|
"actor" : {
|
|
"translation" : [33,56.5]
|
|
}
|
|
}
|
|
}]
|
|
}]
|
|
}]
|
|
}]
|
|
}
|