@shimotsuki/core 2.0.15 → 2.0.16
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.js +4 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { AudioSource, _decorator, AudioClip, error, Node, director, log, sys, Component, Prefab, instantiate, isValid, Layers, view, Widget, v3, tween, Enum, game, UITransform, UIOpacity, Tween, Label, BlockInputEvents, Button, Director, warn, assetManager, Asset, resources, Game, SpriteFrame, Sprite, AsyncDelegate } from 'cc';
|
|
2
2
|
import { PREVIEW, DEBUG } from 'cc/env';
|
|
3
3
|
import { makeObservable, observable, autorun, reaction } from '@shimotsuki/mobx';
|
|
4
|
+
import TextEncoding from 'text-encoding';
|
|
4
5
|
import CryptoES from 'crypto-es';
|
|
5
6
|
import { clone } from '@bufbuild/protobuf';
|
|
6
7
|
import { SocketConnectStatus } from 'pitayaclient';
|
|
@@ -2784,6 +2785,9 @@ class Manager {
|
|
|
2784
2785
|
}
|
|
2785
2786
|
}
|
|
2786
2787
|
const cat = Manager.instance;
|
|
2788
|
+
game.onPreProjectInitDelegate.add(() => {
|
|
2789
|
+
console.log('===== CatGame Polyfil 开始加载 =====', TextEncoding);
|
|
2790
|
+
});
|
|
2787
2791
|
// 项目数据初始化之后的处理APP初始化事务
|
|
2788
2792
|
game.onPostProjectInitDelegate.add(async () => {
|
|
2789
2793
|
console.time('[Init App]');
|