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

添加日志

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