Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Y
yyh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wildfirecode13
yyh
Commits
764b490c
Commit
764b490c
authored
Dec 13, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
0513207e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
7 deletions
+9
-7
Main.ts
egret/src/Main.ts
+6
-4
TransScene.ts
egret/src/yazuwei/TransScene.ts
+3
-3
No files found.
egret/src/Main.ts
View file @
764b490c
...
...
@@ -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
();
// 端内发接口
...
...
egret/src/yazuwei/TransScene.ts
View file @
764b490c
...
...
@@ -175,9 +175,9 @@ export default class TransScene extends Scene {
// }
// }, window['projectId'], GameConst.getQueryString("shareCode"));
//
setTimeout(() => {
//
this.onshake();
// }, 3
000);
setTimeout
(()
=>
{
this
.
onshake
();
},
1
000
);
},
this
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment