Commit bc437545 authored by 李维's avatar 李维

修复小猫动画问题

parent 055be094
......@@ -319,10 +319,8 @@ cc.Class({
this.optionJump(optionNode);
const cat = cc.find("Canvas/bg/catFrame/CoolCat");
playDragonBoneAnimation(cat, "begin", -1);
this.playAudioByUrl(optionNode.optionData.audio_url, ()=>{
playDragonBoneAnimation(cat, "normal", -1);
});
this.playAudioByUrl(optionNode.optionData.audio_url);
});
optionNode.on(cc.Node.EventType.TOUCH_MOVE, (event) => {
if (optionNode.optionData.selected) {
......
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