Commit 327eab84 authored by limingzhe's avatar limingzhe

fix: debug

parent 738a7fef
......@@ -4601,8 +4601,8 @@ cc.Class({
const scale = Math.min(sx, sy);
animaNode.scale = scale;
animaNode.active = false;
// animaNode.active = false;
animaNode.opacity = 0;
});
......@@ -4615,7 +4615,8 @@ cc.Class({
const animationNames = animaNode.animationNames;
const dragonDisplay = animaNode.dragonDisplay;
animaNode.active = true;
// animaNode.active = true;
animaNode.opacity = 255;
if (dragonDisplay && animationNames && animationNames.length > 0) {
dragonDisplay.playAnimation(animationNames[0], 1);
}
......
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