Commit 9d27437e authored by limingzhe's avatar limingzhe

fix: debug

parent 569c6d04
......@@ -1507,6 +1507,7 @@ cc.Class({
scorePanel.x = this.canvas.width / 2 - scorePanel.width / 2 - 5;
scorePanel.y = this.canvas.height / 2 - scorePanel.height / 2 - 5;
this.canvas.addChild( scorePanel );
scorePanel.active = false;
// c05610
const scoreLabelNode = this.getRichText("0", 35, "#ffffff", "#c05610", 2);
......@@ -1515,6 +1516,8 @@ cc.Class({
scorePanel.addChild(scoreLabelNode);
this.scoreLabel = scoreLabelNode.getComponent(cc.RichText);
},
getLabel(text, fontSize = 20, isFont=true) {
......
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