Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
LWD_3
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
template admin
LWD_3
Commits
56d48c2c
Commit
56d48c2c
authored
Dec 07, 2021
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug
parent
9a7a8d30
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletion
+5
-1
LWD_3.js
play/assets/LWD_3/scene/LWD_3.js
+3
-0
_preDefine.js
play/assets/LWD_3/script/common/_preDefine.js
+1
-1
data_mgr.js
play/assets/LWD_3/script/manager/data_mgr.js
+1
-0
No files found.
play/assets/LWD_3/scene/LWD_3.js
View file @
56d48c2c
...
@@ -339,5 +339,8 @@ var game = cc.Class({
...
@@ -339,5 +339,8 @@ var game = cc.Class({
this
.
_intervalIds
.
forEach
(
id
=>
{
this
.
_intervalIds
.
forEach
(
id
=>
{
clearInterval
(
id
);
clearInterval
(
id
);
});
});
LWD_3
.
game
.
inst
.
_intervalIds
.
forEach
(
id
=>
{
clearInterval
(
id
);
});
},
},
});
});
play/assets/LWD_3/script/common/_preDefine.js
View file @
56d48c2c
// 全局环境预声明
// 全局环境预声明
window
.
LWD_3
=
{};
// 全局
window
.
LWD_3
=
window
.
LWD_3
||
{};
// 全局
\ No newline at end of file
\ No newline at end of file
play/assets/LWD_3/script/manager/data_mgr.js
View file @
56d48c2c
...
@@ -153,6 +153,7 @@ LWD_3.data_mgr = {
...
@@ -153,6 +153,7 @@ LWD_3.data_mgr = {
clearInterval
(
this
.
timer
)
clearInterval
(
this
.
timer
)
this
.
timer
=
setInterval
(()
=>
{
this
.
timer
=
setInterval
(()
=>
{
console
.
log
(
"
========liu==============
"
);
if
(
LWD_3
.
data_mgr
.
gameState
==
2
)
{
if
(
LWD_3
.
data_mgr
.
gameState
==
2
)
{
return
;
return
;
}
}
...
...
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