mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 16:12:40 +08:00
4 lines
136 B
JavaScript
4 lines
136 B
JavaScript
-------------------
|
|
//register a schedule to scheduler
|
|
cc.director.getScheduler().schedule(callback, this, interval, !this._isRunning);
|