兼容新版框架

This commit is contained in:
dgflash
2025-03-25 23:26:09 +08:00
parent e06c72d983
commit 79d4ae62db
2 changed files with 36 additions and 6 deletions

View File

@@ -142,8 +142,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 59.99503247947646,
"height": 50.4
"width": 59.98642743644068,
"height": 50.400000000000006
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -181,7 +181,7 @@
"_string": "标题",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 30.262500000000003,
"_actualFontSize": 33.1875,
"_fontSize": 30,
"_fontFamily": "Arial",
"_lineHeight": 40,
@@ -363,7 +363,7 @@
"_string": "内容",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 26.2275,
"_actualFontSize": 28.7625,
"_fontSize": 26,
"_fontFamily": "Arial",
"_lineHeight": 40,
@@ -605,7 +605,7 @@
"_string": "确认",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 20.175,
"_actualFontSize": 22.125,
"_fontSize": 20,
"_fontFamily": "Arial",
"_lineHeight": 40,
@@ -1053,7 +1053,7 @@
"_string": "取消",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 20.175,
"_actualFontSize": 22.125,
"_fontSize": 20,
"_fontFamily": "Arial",
"_lineHeight": 40,

View File

@@ -14,6 +14,36 @@
"webSocketReceiveTime": 10000,
"webSocketReconnetTimeOut": 3000
},
"gui": [
{
"name": "LayerGame",
"type": "Node"
},
{
"name": "LayerUI",
"type": "UI"
},
{
"name": "LayerPopUp",
"type": "PopUp"
},
{
"name": "LayerDialog",
"type": "Dialog"
},
{
"name": "LayerSystem",
"type": "Dialog"
},
{
"name": "LayerNotify",
"type": "Notify"
},
{
"name": "LayerGuide",
"type": "Node"
}
],
"language": {
"default": "zh",
"type": [