let stPos = new cc.Vec2(-100, 80);
let edPos = new cc.Vec2(-20, -30)
let time = 0.8;
this.YinDaoShouZhi.setPosition(stPos);
let action = cc.moveTo(time, edPos);
let repeat = cc.sequence(action, cc.place(stPos))
this.YinDaoShouZhi.stopAllActions();
this.YinDaoShouZhi.runAction(cc.repeatForever(repeat));
箭头放缩
onLoad() {
let actionScaleToBig = cc.scaleTo(1, 1.25);
let actionScaleToSmal = cc.scaleTo(1, 0.9);
this.node.runAction(cc.repeatForever(cc.sequence(actionScaleToBig, actionScaleToSmal)));
}