mirror of
https://github.com/cocos/cocos-engine.git
synced 2026-09-09 17:20:33 +08:00
3 lines
116 B
JavaScript
3 lines
116 B
JavaScript
//register a schedule to scheduler
|
|
cc.director.getScheduler().schedule(callback, this, interval, !this._isRunning);
|