粒子效果bug

看了下源代码,ParticleSystem的spriteFrame的实现代码如下

    set: function (value, force) {
        var lastSprite = this._spriteFrame;
        if (CC_EDITOR) {
            if (!force && lastSprite === value) {
                return;
            }
        }
        else {
            if (lastSprite === value) {
                return;
            }
        }
        this._spriteFrame = value;
        if ((lastSprite && lastSprite.getTexture()) !== (value && value.getTexture())) {
            this._texture = null;
            this._applySpriteFrame(lastSprite);
        }
        if (CC_EDITOR) {
            this.node.emit('spriteframe-changed', this);
        }
    },

    if ((lastSprite && lastSprite.getTexture()) !== (value && value.getTexture())) {
        this._texture = null;
        this._applySpriteFrame(lastSprite);
    }这句代码是不是有问题 this._applySpriteFrame(lastSprite)应该是this._applySpriteFrame(value)吧

这里的访问器属性setter的两个参数如何传递?

试了下,并没啥卵用,spriteFrame设置过一次之后就固定了 粒子贴图无法再改变

我就想问一下这里的属性访问器setter的写法正确吗?
它这里有两个参数,

不知道,这是creator的源代码,要问官方了

因为在ts中存取器的set只能使用1个参数

官方对于properties里的属性这样处理的,的确是使用的访问器属性。但是他这里的set却是传了两个参数。。。
发帖问了,没反应。一个回复都没得。
http://forum.cocos.com/t/cc-sprite-spriteframe/67354