1.5.2引擎中,如下代码
lightNode.runAction(cc.sequence(cc.delayTime(0.1), cc.removeSelf()));
报错
CCActionManager.js:419 Uncaught TypeError: Cannot read property ‘isDone’ of null
at TheClass.update (CCActionManager.js:419)
at TheClass.update (CCScheduler.js:401)
at TheClass.mainLoop (CCDirector.js:1383)
at callback (CCGame.js:561)
这里,我把cc.removeSelf去掉,只执行一个delayTime,是不会报错