Commit 764b490c authored by wildfirecode's avatar wildfirecode

1

parent 0513207e
......@@ -181,6 +181,11 @@ class Main extends MainBase {
// Waiting.instance.hide();
// return;
GameConst.stage = this.stage;
setTimeout(() => {
console.log(GameConst.stage.width, GameConst.stage.height)
}, 100);
if (window['pageID']) {
Buried.init();
// if (GameConst.getQueryString("InviteSource")) {
......@@ -220,10 +225,7 @@ class Main extends MainBase {
//获取UA信息
let userAgent = navigator.userAgent.toLowerCase();
console.log(userAgent);
GameConst.stage = this.stage;
setTimeout(() => {
console.log(GameConst.stage.width, GameConst.stage.height)
}, 100);
Buried.init();
// 端内发接口
......
......@@ -175,9 +175,9 @@ export default class TransScene extends Scene {
// }
// }, window['projectId'], GameConst.getQueryString("shareCode"));
// setTimeout(() => {
// this.onshake();
// }, 3000);
setTimeout(() => {
this.onshake();
}, 1000);
}, this);
}
......
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