Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hy08_caici
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
hy08_caici
Commits
00f1008c
Commit
00f1008c
authored
Jul 12, 2023
by
Tt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改公共问题
parent
2d3ac2b9
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
233 additions
and
324 deletions
+233
-324
LayerBack_hy06_danxuan.ts
...ts/hy08_caici/common/layer_back/LayerBack_hy06_danxuan.ts
+4
-0
ImgVoice_hy06_danxuan.ts
assets/hy08_caici/common/script/ImgVoice_hy06_danxuan.ts
+4
-0
LayerRecord_hy06_danxuan.ts
assets/hy08_caici/common/script/LayerRecord_hy06_danxuan.ts
+1
-0
hy08_caici.fire
assets/hy08_caici/scene/hy08_caici.fire
+223
-324
pg_hy08_caici.ts
assets/hy08_caici/scene/pg_hy08_caici.ts
+1
-0
bottom_hy08_caici.png
assets/hy08_caici/textures/hy08/bottom_hy08_caici.png
+0
-0
No files found.
assets/hy08_caici/common/layer_back/LayerBack_hy06_danxuan.ts
View file @
00f1008c
...
...
@@ -60,8 +60,12 @@ export default class LayerBack extends cc.Component {
this
.
audioId
=
audioId
;
});
}
protected
onDestroy
():
void
{
this
.
unscheduleAllCallbacks
();
}
playVoiceRunning
()
{
this
.
playVoiceCount
++
;
if
(
!
this
.
img_npc_voice
)
return
;
let
p1
=
this
.
img_npc_voice
.
getChildByName
(
'
p1
'
)
let
p2
=
this
.
img_npc_voice
.
getChildByName
(
'
p2
'
)
let
p3
=
this
.
img_npc_voice
.
getChildByName
(
'
p3
'
)
...
...
assets/hy08_caici/common/script/ImgVoice_hy06_danxuan.ts
View file @
00f1008c
...
...
@@ -30,8 +30,12 @@ export default class ImgVoice extends cc.Component {
this
.
playVoiceCount
=
0
;
this
.
schedule
(
this
.
playVoiceRunning
,
0.3
)
}
protected
onDestroy
():
void
{
this
.
unscheduleAllCallbacks
();
}
playVoiceRunning
()
{
this
.
playVoiceCount
++
;
if
(
!
this
.
img_npc_voice
)
return
;
let
p1
=
this
.
img_npc_voice
.
getChildByName
(
'
p1
'
)
let
p2
=
this
.
img_npc_voice
.
getChildByName
(
'
p2
'
)
let
p3
=
this
.
img_npc_voice
.
getChildByName
(
'
p3
'
)
...
...
assets/hy08_caici/common/script/LayerRecord_hy06_danxuan.ts
View file @
00f1008c
...
...
@@ -115,6 +115,7 @@ export default class LayerRecord extends cc.Component {
playVoiceRunning
()
{
this
.
playVoiceCount
++
;
let
btn_play
=
pg
.
view
.
find
(
this
.
layout_record
,
'
btn_play
'
);
if
(
!
btn_play
)
return
;
let
p0
=
btn_play
.
getChildByName
(
'
p0
'
)
let
p1
=
btn_play
.
getChildByName
(
'
p1
'
)
let
p2
=
btn_play
.
getChildByName
(
'
p2
'
)
...
...
assets/hy08_caici/scene/hy08_caici.fire
View file @
00f1008c
This diff is collapsed.
Click to expand it.
assets/hy08_caici/scene/pg_hy08_caici.ts
View file @
00f1008c
...
...
@@ -364,6 +364,7 @@ let pg = {
if
(
!
node
)
return
;
let
component
=
node
.
getComponent
(
cc
.
Label
);
//组件功能 非node的功能
component
.
string
=
text
;
component
.
cacheMode
=
cc
.
Label
.
CacheMode
.
CHAR
;
return
true
;
},
//更变颜色
...
...
assets/hy08_caici/textures/hy08/bottom_hy08_caici.png
View replaced file @
2d3ac2b9
View file @
00f1008c
166 KB
|
W:
|
H:
154 KB
|
W:
|
H:
2-up
Swipe
Onion skin
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