Commit f169ac75 authored by limingzhe's avatar limingzhe

fix: debug 清缓存

parent e0502f71
...@@ -320,15 +320,18 @@ ...@@ -320,15 +320,18 @@
}, },
{ {
"__id__": 125 "__id__": 125
},
{
"__id__": 128
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 128 "__id__": 130
}, },
{ {
"__id__": 129 "__id__": 131
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5948,6 +5951,78 @@ ...@@ -5948,6 +5951,78 @@
"_originalHeight": 0, "_originalHeight": 0,
"_id": "b2OIHmdDVFT5aJppIyFhCT" "_id": "b2OIHmdDVFT5aJppIyFhCT"
}, },
{
"__type__": "cc.Node",
"_name": "Destroyer",
"_objFlags": 0,
"_parent": {
"__id__": 7
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 129
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "d9WooRoG1L444hPQOE3zBg"
},
{
"__type__": "ddd21vavV5OAZOK6TPHd3Je",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 128
},
"_enabled": true,
"_id": "04XtlEx3hD9J2J8VGhgzZI"
},
{ {
"__type__": "d98e34LKINGEIpG3utycEds", "__type__": "d98e34LKINGEIpG3utycEds",
"_name": "", "_name": "",
......
...@@ -229,8 +229,11 @@ export abstract class middleLayerBase extends cc.Component { ...@@ -229,8 +229,11 @@ export abstract class middleLayerBase extends cc.Component {
const destroyer = cc.instantiate(cc.find('middleLayer/Destroyer')); const destroyer = cc.instantiate(cc.find('middleLayer/Destroyer'));
destroyer.parent = cc.find('Canvas'); if (destroyer) {
destroyer.active = true; destroyer.parent = cc.find('Canvas');
destroyer.active = true;
}
callback && callback(); callback && callback();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment