代码: 全选
if(str=="Stand") {
this.stopAllActions();
} else if(str=="Walk_left") {
this.runAction(this.repeat[1]);
} else {
this.runAction(this.repeat[0]);
}
代码: 全选
if(str=="Stand") {
this.stopAllActions();
} else if(str=="Walk_left") {
this.runAction(this.repeat[1]);
} else {
this.runAction(this.repeat[0]);
}