var _animation = cc.animationCache.getAnimation(aniName);
var ani=cc.animate(_animation);
sprite.runAction(cc.repeatForever(ani));
sprite.setBlendFunc(cc.DST_ALPHA, cc.SRC_ALPHA);
这样在sprite里setBlendFunc 不起作用, 我是哪里写错了呢?
var _animation = cc.animationCache.getAnimation(aniName);
var ani=cc.animate(_animation);
sprite.runAction(cc.repeatForever(ani));
sprite.setBlendFunc(cc.DST_ALPHA, cc.SRC_ALPHA);
这样在sprite里setBlendFunc 不起作用, 我是哪里写错了呢?