Commit ee144982 authored by liujiangnan's avatar liujiangnan

feat

parent 41dec677
...@@ -70,11 +70,7 @@ export default class NewClass extends middleLayerBase { ...@@ -70,11 +70,7 @@ export default class NewClass extends middleLayerBase {
if (video) { if (video) {
cc.find("Canvas/Main Camera").getComponent(cc.Camera).backgroundColor = cc.color(0,0,0,0); cc.find("Canvas/Main Camera").getComponent(cc.Camera).backgroundColor = cc.color(0,0,0,0);
video.stayOnBottom = true; video.stayOnBottom = true;
// setTimeout(() => {
// cc.macro.ENABLE_TRANSPARENT_CANVAS = true;
// }, 1000);
} else { } else {
// cc.macro.ENABLE_TRANSPARENT_CANVAS = false;
} }
} }
...@@ -866,10 +862,8 @@ export default class NewClass extends middleLayerBase { ...@@ -866,10 +862,8 @@ export default class NewClass extends middleLayerBase {
activeLevels = null; activeLevels = null;
isLogin = false; isLogin = false;
async start() { async start() {
// this.node.zIndex = 9999; this.node.zIndex = 9999;
this.loadOnlineBundle('op_02');
cc.game.addPersistRootNode(this.node); cc.game.addPersistRootNode(this.node);
return;
// await this.checkVersion(); // await this.checkVersion();
if (this.isDev == 1) { if (this.isDev == 1) {
......
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