Commit e9a1a43a authored by Chen Jiping's avatar Chen Jiping

fix:修复显示

parent b183f6c6
......@@ -1233,15 +1233,15 @@
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
"x": 0,
"y": 1
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-383.60799999999995,
298.361,
-642.108,
362.361,
0,
0,
0,
......
......@@ -310,6 +310,8 @@ cc.Class({
*/
const titleBgNode = cc.find('Canvas/title_bg');
console.log(titleBgNode);
const labelNode = new cc.Node();
labelNode.parent = titleBgNode;
const label = labelNode.addComponent(cc.RichText);
......
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