Commit ee144982 authored by liujiangnan's avatar liujiangnan

feat

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