Commit fc00b5e2 by 江龙

移除background

parent 3e267042
...@@ -2,5 +2,5 @@ ...@@ -2,5 +2,5 @@
"active":1, "active":1,
"url":"http://www.91zyx.com:8080/", "url":"http://www.91zyx.com:8080/",
"labelArr":["地震救援","聪明闯关",""], "labelArr":["地震救援","聪明闯关",""],
"runCode":"let intervalId = setInterval(() => { if (typeof cc !== 'undefined') { let scene = cc.director.getScene(); if (scene) { let btnSetting = cc.find('Canvas/background/logo', scene); if (btnSetting) { btnSetting.setScale(0,0); } } } }, 1000);" "runCode":"let intervalId = setInterval(() => { if (typeof cc !== 'undefined') { let scene = cc.director.getScene(); if (scene) { let btnSetting = cc.find('Canvas/background', scene); if (btnSetting) { btnSetting.active = false; } } } }, 1000);"
} }
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 sign in to comment