@zhongguo168a/yxeditor-common 0.0.29 → 0.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +2 -3
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HorizontalTextAlignment, VerticalTextAlignment,
|
|
1
|
+
import { HorizontalTextAlignment, VerticalTextAlignment, director, macro, Scheduler, math, instantiate, SpriteAtlas, Size, Vec2, Rect, SpriteFrame, path, assetManager, ImageAsset, JsonAsset, TextAsset, Asset, Texture2D, find, Canvas, Node, Vec3, Vec4, resources, UITransform, Widget } from 'cc';
|
|
2
2
|
|
|
3
3
|
class NetUtil {
|
|
4
4
|
// 获取URL的参数对象
|
|
@@ -360,8 +360,7 @@ class Timer {
|
|
|
360
360
|
return this._scheduler;
|
|
361
361
|
}
|
|
362
362
|
constructor() {
|
|
363
|
-
this._scheduler =
|
|
364
|
-
Scheduler.enableForTarget(this._scheduler);
|
|
363
|
+
this._scheduler = director.getScheduler();
|
|
365
364
|
}
|
|
366
365
|
/**
|
|
367
366
|
* 定时执行一次。
|