Commit 43b63ef9 authored by Tt's avatar Tt

按钮未隐藏

parent 47daf7a2
...@@ -239,6 +239,8 @@ cc.Class({ ...@@ -239,6 +239,8 @@ cc.Class({
this.initLayout()//完成后直接进入下一步 this.initLayout()//完成后直接进入下一步
}) })
} else if (GameManager.getIns().getState() == 1) { } else if (GameManager.getIns().getState() == 1) {
pg.view.visible(btn_replay, false);
pg.view.visible(btn_record, false);
let dragonDisplay = carton.getComponent(dragonBones.ArmatureDisplay); let dragonDisplay = carton.getComponent(dragonBones.ArmatureDisplay);
dragonDisplay.playAnimation(this.animationName, 1);//animation所有的动画名称 dragonDisplay.playAnimation(this.animationName, 1);//animation所有的动画名称
icon_ex_txt.active = false; icon_ex_txt.active = false;
......
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