Commit affe4821 authored by 李维's avatar 李维

初始化时隐藏背景

parent 72d7b5a0
......@@ -832,7 +832,7 @@
"__id__": 28
}
],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 34
......
......@@ -25,6 +25,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
if (this.engineType == 'aixuebao') {
cc.find(`Canvas/userInfo/frame/BtnLogout/text`).getComponent(cc.Label).string = "退出APP";
}
} else {
// 纸屏互动版本
cc.find(`Canvas/bg_ground/bg_grass`).active = true;
cc.find(`Canvas/bg_ground/bg_grass_lite`).active = false;
}
await this.initData();
await this.initView();
......
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