mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-04 02:02:41 +08:00
@@ -567,7 +567,7 @@ var Component = cc.Class({
|
||||
// because enabledInHierarchy is assigned after onEnable.
|
||||
// Actually, if not yet scheduled, resumeTarget/pauseTarget has no effect on component,
|
||||
// therefore there is no way to guarantee the paused state other than isTargetPaused.
|
||||
var paused = scheduler.isTargetPaused();
|
||||
var paused = scheduler.isTargetPaused(this);
|
||||
|
||||
scheduler.schedule(callback, this, interval, repeat, delay, paused);
|
||||
},
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cocos-creator-js",
|
||||
"version": "1.6.0",
|
||||
"version": "1.7.0",
|
||||
"description": "Cocos2d-html5 is a cross-platform 2D game engine written in Javascript, based on Cocos2d-X and licensed under MIT. It incorporates the same high level api as “Cocos2d JS-binding engine” and compatible with Cocos2d-X. It currently supports canvas and WebGL renderering.",
|
||||
"homepage": "http://www.cocos2d-x.org",
|
||||
"authors": [
|
||||
|
||||
Reference in New Issue
Block a user