Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zeroing-engine
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
劳工
zeroing-engine
Commits
82cff9b8
Commit
82cff9b8
authored
May 06, 2020
by
rockyl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复自定义模块素材丢失的问题
parent
9079fb65
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
manifest.json
manifest.json
+1
-1
GameStage.ts
src/zeroing/game-warpper/GameStage.ts
+6
-7
No files found.
manifest.json
View file @
82cff9b8
{
"id"
:
"engine"
,
"url"
:
"engine.741a07d921ba996527afc8c11ef426f24ada0932.js"
}
{
"id"
:
"engine"
,
"url"
:
"engine.064186f5e8dcc18d3c38e8e0526e183be57587f2.js"
}
\ No newline at end of file
\ No newline at end of file
src/zeroing/game-warpper/GameStage.ts
View file @
82cff9b8
...
@@ -311,15 +311,14 @@ export class GameStage extends Node {
...
@@ -311,15 +311,14 @@ export class GameStage extends Node {
lazyLoadAllAssets
=
async
()
=>
{
lazyLoadAllAssets
=
async
()
=>
{
let
{
assets
,
customs
}
=
this
.
_config
;
let
{
assets
,
customs
}
=
this
.
_config
;
if
(
Array
.
isArray
(
assets
))
{
if
(
!
Array
.
isArray
(
assets
))
{
return
;
}
for
(
let
uuid
in
assets
)
{
for
(
let
uuid
in
assets
)
{
let
group
=
assets
[
uuid
];
let
group
=
assets
[
uuid
];
if
(
group
&&
group
.
length
>
0
)
{
if
(
group
&&
group
.
length
>
0
)
{
await
loadAssetsGroup
(
group
,
uuid
);
await
loadAssetsGroup
(
group
,
uuid
);
}
}
}
}
}
for
(
let
custom
of
customs
)
{
for
(
let
custom
of
customs
)
{
let
group
=
custom
.
assets
;
let
group
=
custom
.
assets
;
if
(
group
&&
group
.
length
>
0
)
{
if
(
group
&&
group
.
length
>
0
)
{
...
...
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