Commit ae56a636 authored by Guo Yuhang's avatar Guo Yuhang

hiden restart btn

Signed-off-by: Guo Yuhang's avatar郭宇航 <guoyuhang@iplayabc.com>
parent 3fd217d3
No preview for this file type
{
"ver": "1.1.2",
"uuid": "c35bb2f6-f24a-4850-ae44-643f2fdc7541",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {
"ios": false,
"android": false
},
"subMetas": {}
}
\ No newline at end of file
{"ver":"1.1.2","uuid":"c35bb2f6-f24a-4850-ae44-643f2fdc7541","isBundle":false,"bundleName":"","priority":1,"compressionType":{},"optimizeHotUpdate":{},"inlineSpriteFrames":{},"isRemoteBundle":{"ios":false,"android":false},"subMetas":{}}
\ No newline at end of file
......@@ -819,6 +819,7 @@ cc.Class({
//显示replay
showRestartBtn() {
return;
const btn = cc.find('Canvas/btn_replay');
if (btn.canClick) {
return;
......@@ -837,6 +838,7 @@ cc.Class({
},
hideRestartBtn() {
return;
console.log('hideRestartBtn');
const btn = cc.find('Canvas/btn_replay');
if (!btn.canClick) {
......
This diff is collapsed.
This diff is collapsed.
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