Commit 3cbc3878 authored by Tt's avatar Tt

处理bug

parent c54a1d89
This diff is collapsed.
......@@ -210,14 +210,18 @@ export default class SceneComponent extends MyCocosSceneComponent {
// 展示点击效果
async showRecordWait() {
pg.view.find(this.btn_record, 'bg/bg').active = false;
pg.view.find(this.btn_record, 'bg/ani').active = true;
}
async showRecordWaitEnd() {
pg.view.find(this.btn_record, 'bg/bg').active = true;
pg.view.find(this.btn_record, 'bg/ani').active = false;
}
showRecordHide() {
this.showRecordWaitEnd();
this.readyNext = false;
this.readyTime = 999999;
this.img_npc.active = false;
this.showLastNext = 3;// 3秒显示时间
let img_voice = pg.view.find(this.btn_record, "img_voice");
......@@ -397,6 +401,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.readyNext = false;
this.readyTime = 999999;
this.showNpcAudioPlayEnd();
this.CurrentData.npcPlay = false
this.showNpcAudioPlay().then(() => {
this.showNpcAudioPlayEnd();
this.readyNext = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment