Commit 48fbe764 authored by Edwise's avatar Edwise 🍷

11234

parent a7a6172d
......@@ -125,6 +125,7 @@ export class Cat extends Module {
this.catAnimArr[i].visible = true;
let loop = callback ? 1 : 0;
console.log("hahaha",loop)
this.catAnimArr[i].stop();
this.catAnimArr[i].play(loop, callback)
console.log("播放",index)
} else {
......
......@@ -160,6 +160,15 @@ export class MainSceneBtnUi extends Module{
case that.playBtn:
that.catPlay();
break;
case that.combingBtn:
that.catClear();
break;
case that.catBtn:
that.catRua();
break;
case that.touchHeadBtn:
that.catTouch();
break;
case that.strategyBtn:
that.openStrategy();
break;
......
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