mirror of
https://github.com/enduro2d/enduro2d.git
synced 2025-12-14 16:09:06 +07:00
lazy layout update
This commit is contained in:
9
samples/bin/library/prefabs/layout_prefab.json
Normal file
9
samples/bin/library/prefabs/layout_prefab.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"components" : {
|
||||
"named" : {
|
||||
"name" : "layout"
|
||||
},
|
||||
"layout" : {},
|
||||
"layout.dirty" : {}
|
||||
}
|
||||
}
|
||||
@@ -5,12 +5,7 @@
|
||||
},{
|
||||
"prototype" : "../prefabs/camera_prefab.json"
|
||||
},{
|
||||
"components" : {
|
||||
"named" : {
|
||||
"name" : "layout"
|
||||
},
|
||||
"layout" : {}
|
||||
},
|
||||
"prototype" : "../prefabs/layout_prefab.json",
|
||||
"children" : [{
|
||||
"components" : {
|
||||
"named" : {
|
||||
|
||||
@@ -12,6 +12,9 @@ local layout = {
|
||||
---@type boolean
|
||||
disabled = false,
|
||||
|
||||
---@type boolean
|
||||
dirty = false,
|
||||
|
||||
---@type layout_modes
|
||||
mode = layout.modes.horizontal,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user