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
a1fa8aeb
Commit
a1fa8aeb
authored
May 11, 2020
by
rockyl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复没有素材待加载时展示加载视图的情况
parent
d5201788
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
9 deletions
+11
-9
GameStage.ts
src/zeroing/game-warpper/GameStage.ts
+11
-9
No files found.
src/zeroing/game-warpper/GameStage.ts
View file @
a1fa8aeb
...
@@ -229,6 +229,7 @@ export class GameStage extends Node {
...
@@ -229,6 +229,7 @@ export class GameStage extends Node {
groups
[
viewConfig
.
uuid
]
=
depAssets
;
groups
[
viewConfig
.
uuid
]
=
depAssets
;
}
}
}
}
if
(
Object
.
keys
(
groups
).
length
>
0
){
await
loadAssetsGroups
(
groups
,
async
()
=>
{
await
loadAssetsGroups
(
groups
,
async
()
=>
{
if
(
showLoadingView
)
{
if
(
showLoadingView
)
{
await
this
.
showInnerLoadingView
();
await
this
.
showInnerLoadingView
();
...
@@ -239,6 +240,7 @@ export class GameStage extends Node {
...
@@ -239,6 +240,7 @@ export class GameStage extends Node {
}
}
});
});
}
}
}
view
=
instantiate
(
viewConfig
);
view
=
instantiate
(
viewConfig
);
let
store
=
{};
let
store
=
{};
...
...
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