Open zmox opened 7 years ago
run below function _testAction() in scene :
_testAction: function(cb){ this._testNode.runAction(cc.sequence( cc.delayTime(0.1), cc.callFunc(function(){ if(cb){ cb(); } }, this), cc.callFunc(function(){ this._testAction(cb); }, this) )); }
in IOS platform: this recursive function will random stop. but in Android or html5 platform work well.
what is the problem?
anyone?
run below function _testAction() in scene :
in IOS platform: this recursive function will random stop. but in Android or html5 platform work well.
what is the problem?