兼容最新版本框架代码

This commit is contained in:
dgflash
2025-04-24 09:27:28 +08:00
parent 79d4ae62db
commit daae887c02
2 changed files with 8 additions and 6 deletions

View File

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

View File

@@ -4,7 +4,9 @@
* @LastEditTime: 2022-11-11 17:41:53
*/
import { LayerType, UIConfig } from "../../../../../extensions/oops-plugin-framework/assets/core/gui/layer/LayerManager";
import { LayerType } from "db://oops-framework/core/gui/layer/LayerEnum";
import { UIConfig } from "db://oops-framework/core/gui/layer/UIConfig";
/** 界面唯一标识(方便服务器通过编号数据触发界面打开) */
export enum UIID {