Commit fad12981 authored by asdf's avatar asdf

骨骼动画播放一次

parent 5ff9c5bf
...@@ -130,7 +130,7 @@ cc.Class({ ...@@ -130,7 +130,7 @@ cc.Class({
if(GameData.audioCount > 0){ if(GameData.audioCount > 0){
return; return;
} }
this.dragonBone.playAnimation(this.animationName, 0); this.dragonBone.playAnimation(this.animationName, 1);
this.sprAudio.spriteFrame = this.spfAudio[0]; this.sprAudio.spriteFrame = this.spfAudio[0];
this.schedule(this.changeAudioSpfCb, 0.2) this.schedule(this.changeAudioSpfCb, 0.2)
this.playAudioOption(() => { this.playAudioOption(() => {
......
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