Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
andy_cocos_1
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
andy_cocos_1
Commits
ccd21ef2
Commit
ccd21ef2
authored
Nov 26, 2020
by
wangxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Scene.js
parent
66624a0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
Scene.js
play/assets/tmpGame/script/Scene.js
+5
-0
No files found.
play/assets/tmpGame/script/Scene.js
View file @
ccd21ef2
...
@@ -66,6 +66,11 @@ cc.Class({
...
@@ -66,6 +66,11 @@ cc.Class({
this
.
data
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
data
));
this
.
data
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
data
));
// this.preloadItem()
// this.preloadItem()
if
(
window
&&
window
[
"
air
"
])
{
window
[
"
air
"
].
hideAirClassLoading
();
}
const
labelNode
=
new
cc
.
Node
();
const
labelNode
=
new
cc
.
Node
();
labelNode
.
color
=
cc
.
Color
.
YELLOW
;
labelNode
.
color
=
cc
.
Color
.
YELLOW
;
const
label
=
labelNode
.
addComponent
(
cc
.
Label
);
const
label
=
labelNode
.
addComponent
(
cc
.
Label
);
...
...
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