Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TXZS_G_005
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
TXZS_G_005
Commits
39a65d48
Commit
39a65d48
authored
Jul 13, 2023
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加单词音频
parent
40280bfb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Game_TXZS_G_005.ts
assets/TXZS_G_005/scene/tool/Game_TXZS_G_005.ts
+1
-1
MyCocosSceneComponent_TXZS_G_005.ts
assets/TXZS_G_005/script/MyCocosSceneComponent_TXZS_G_005.ts
+2
-2
No files found.
assets/TXZS_G_005/scene/tool/Game_TXZS_G_005.ts
View file @
39a65d48
...
@@ -36,7 +36,7 @@ export class Option {
...
@@ -36,7 +36,7 @@ export class Option {
this
.
txt
=
data
.
text
;
this
.
txt
=
data
.
text
;
// this.time = data.duration;
// this.time = data.duration;
this
.
picUrl
=
data
.
image
;
this
.
picUrl
=
data
.
image
;
this
.
audioUrl
=
data
.
audio
;
this
.
audioUrl
=
data
.
audio
_url
;
// this.right = data.right;
// this.right = data.right;
// this.touchRight = false;
// this.touchRight = false;
}
}
...
...
assets/TXZS_G_005/script/MyCocosSceneComponent_TXZS_G_005.ts
View file @
39a65d48
...
@@ -98,7 +98,7 @@ export class MyCocosSceneComponent extends cc.Component {
...
@@ -98,7 +98,7 @@ export class MyCocosSceneComponent extends cc.Component {
"
type
"
:
"
txt
"
,
"
type
"
:
"
txt
"
,
"
pic_url
"
:
""
,
"
pic_url
"
:
""
,
"
text
"
:
option
.
text_en
,
"
text
"
:
option
.
text_en
,
"
audio_url
"
:
""
,
"
audio_url
"
:
option
.
audio_url
,
"
audioName
"
:
""
,
"
audioName
"
:
""
,
"
audio
"
:
""
"
audio
"
:
""
},
},
...
@@ -106,7 +106,7 @@ export class MyCocosSceneComponent extends cc.Component {
...
@@ -106,7 +106,7 @@ export class MyCocosSceneComponent extends cc.Component {
"
type
"
:
"
txt
"
,
"
type
"
:
"
txt
"
,
"
pic_url
"
:
""
,
"
pic_url
"
:
""
,
"
text
"
:
option
.
text_cn
,
"
text
"
:
option
.
text_cn
,
"
audio_url
"
:
""
,
"
audio_url
"
:
option
.
audio_url
,
"
audioName
"
:
""
,
"
audioName
"
:
""
,
"
audio
"
:
""
"
audio
"
:
""
}
}
...
...
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