Cocos Creator v1.5.2 内测版发布帖 (6月27日更新 beta.2)

这是个bug。1.6内测版已经更新。bug日志里面写有。

var self = this;// this is a Component
cc.sequence(action1,cc.callFunc(function(){ self.node.stopAllAction() }) ) 就会出 这个错。

你往上看一下,这个问题好像说1.6修复了

this._contentView.runAction(new cc.Sequence(
cc.scaleTo(0.2,0).easing(cc.easeBackIn()),
//cc.removeSelf(),
cc.callFunc(()=>{
this.isInit = false;
this.node.removeFromParent()
})
));

用removeFromParent 要报同样的错 1.5.2