Files
cocos-engine/docs/cocos2d/core/CCScheduler/schedule.js
2016-04-05 11:27:47 +08:00

3 lines
116 B
JavaScript

//register a schedule to scheduler
cc.director.getScheduler().schedule(callback, this, interval, !this._isRunning);