Commit 975834e0 authored by 李维's avatar 李维

添加日志

parent fd2a4793
...@@ -854,6 +854,7 @@ cc.Class({ ...@@ -854,6 +854,7 @@ cc.Class({
// 酷猫讲话动画 // 酷猫讲话动画
coolCatSpeak(aniName="begin") { coolCatSpeak(aniName="begin") {
console.log("Play animation: " + aniName)
const cat = cc.find('Canvas/mao_ske'); const cat = cc.find('Canvas/mao_ske');
playDragonBoneAnimation(cat, aniName, -1); playDragonBoneAnimation(cat, aniName, -1);
return () => { return () => {
...@@ -863,6 +864,7 @@ cc.Class({ ...@@ -863,6 +864,7 @@ cc.Class({
// 酷猫闭嘴 // 酷猫闭嘴
coolCatShutOut() { coolCatShutOut() {
console.log("Stop animaiton")
const cat = cc.find('Canvas/mao_ske'); const cat = cc.find('Canvas/mao_ske');
playDragonBoneAnimation(cat, 'normal', -1); playDragonBoneAnimation(cat, 'normal', -1);
}, },
......
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