Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dg_book_voice
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
dg_book_voice
Commits
0a84505c
Commit
0a84505c
authored
Jan 15, 2024
by
Tt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
双指缩放部分代码整理
parent
eefb3126
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
139 additions
and
126 deletions
+139
-126
dg04_dyxx.ts
assets/dg04_dyxx/scene/dg04_dyxx.ts
+138
-125
pg.ts
assets/dg04_dyxx/scene/tool/pg.ts
+1
-1
No files found.
assets/dg04_dyxx/scene/dg04_dyxx.ts
View file @
0a84505c
This diff is collapsed.
Click to expand it.
assets/dg04_dyxx/scene/tool/pg.ts
View file @
0a84505c
...
@@ -648,7 +648,7 @@ let pg = {
...
@@ -648,7 +648,7 @@ let pg = {
});
});
})
})
},
},
getAudioClip
(
audio_url
)
{
getAudioClip
(
audio_url
)
:
Promise
<
cc
.
AudioClip
>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
if
(
!
audio_url
)
return
resolve
(
null
);
if
(
!
audio_url
)
return
resolve
(
null
);
cc
.
assetManager
.
loadRemote
(
audio_url
,
(
err
,
audioClip
:
any
)
=>
{
cc
.
assetManager
.
loadRemote
(
audio_url
,
(
err
,
audioClip
:
any
)
=>
{
...
...
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