cc.Class({ extends: cc.Component, properties: { }, start () { this.animation = this.node.getComponent(cc.Animation); }, PlayScaleAni() { this.animation.play(); } });