Commit e15f0666 authored by limingzhe's avatar limingzhe

fix: debug

parent 9001eb01
......@@ -283,8 +283,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
console.log('idx: ', idx);
console.log("传入按钮名1:", name);
titleNode.getComponent(cc.Label).string = `<outline align=top color=${outline}
width=4>${name}</outline>`;
// titleNode.getComponent(cc.Label).string = `<outline align=top color=${outline}
// width=4>${name}</outline>`;
titleNode.getComponent(cc.Label).string = name;
console.log("显示按钮名1:", titleNode.getComponent(cc.Label).string);
......
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