mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
4 lines
122 B
JavaScript
4 lines
122 B
JavaScript
//unschedules the "update" method.
|
|
var scheduler = cc.director.getScheduler();
|
|
scheduler.unscheduleUpdateForTarget(this);
|