Commit 04ff6c8d authored by Guo Yuhang's avatar Guo Yuhang

hiden restart btn

Signed-off-by: Guo Yuhang's avatar郭宇航 <guoyuhang@iplayabc.com>
parent aede7970
......@@ -632,6 +632,7 @@ cc.Class({
},
showRestartBtn() {
return;
const btn = cc.find('Canvas/bg/btnReplay');
btn.active = true;
btn.off('click');
......@@ -656,6 +657,7 @@ cc.Class({
},
hideRestartBtn() {
return;
console.log('hideRestartBtn');
const btn = cc.find('Canvas/bg/btnReplay');
btn.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