Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
L5R1_bingo
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
L5R1_bingo
Commits
83589e9b
Commit
83589e9b
authored
Dec 14, 2022
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat
parent
0aa35f0b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
L5R1_bingo.ts
assets/L5R1_bingo/scene/L5R1_bingo.ts
+2
-1
util_L5R1_bingo.ts
assets/L5R1_bingo/script/util_L5R1_bingo.ts
+1
-3
tsconfig.json
tsconfig.json
+3
-1
No files found.
assets/L5R1_bingo/scene/L5R1_bingo.ts
View file @
83589e9b
...
...
@@ -586,6 +586,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
})
}
this
.
finish
();
}
...
...
@@ -927,7 +928,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
finish
()
{
//
onHomeworkFinish();
onHomeworkFinish
();
}
async
playLocalAudio
(
audioName
)
{
...
...
assets/L5R1_bingo/script/util_L5R1_bingo.ts
View file @
83589e9b
...
...
@@ -349,9 +349,7 @@ export function onHomeworkFinish(data: any = null) {
const
middleLayer
=
cc
.
find
(
'
middleLayer
'
);
if
(
middleLayer
)
{
const
middleLayerComponent
=
middleLayer
.
getComponent
(
'
middleLayer
'
);
if
(
middleLayerComponent
.
role
==
'
student
'
)
{
middleLayerComponent
.
onHomeworkFinish
(()
=>
{
},
data
);
}
middleLayerComponent
.
onHomeworkFinish
(()
=>
{
},
data
);
}
else
{
console
.
log
(
'
onHomeworkFinish
'
);
}
...
...
tsconfig.json
View file @
83589e9b
...
...
@@ -15,6 +15,8 @@
"local"
,
"temp"
,
"build"
,
"settings"
"settings"
,
"form"
,
"form_angular"
]
}
\ No newline at end of file
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