@cc-component/cc-core 1.6.6 → 1.6.7
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.
|
@@ -46,7 +46,7 @@ export class App {
|
|
|
46
46
|
/**对象池 */
|
|
47
47
|
static get pool(): EffectSingleCase { return this.instance._pool }
|
|
48
48
|
/**资源管理 */
|
|
49
|
-
static get
|
|
49
|
+
static get asset(): ResourceManager { return this.instance._asset }
|
|
50
50
|
|
|
51
51
|
_gui: LayerUI;
|
|
52
52
|
_http: HttpManager;
|
|
@@ -58,7 +58,7 @@ export class App {
|
|
|
58
58
|
_sound: AudioUtil;
|
|
59
59
|
_tools: Tools;
|
|
60
60
|
_pool: EffectSingleCase;
|
|
61
|
-
|
|
61
|
+
_asset: ResourceManager;
|
|
62
62
|
|
|
63
63
|
private static instance: App | null = null;
|
|
64
64
|
public static get Ins(): App {
|
|
@@ -92,7 +92,7 @@ export class App {
|
|
|
92
92
|
self._sound = new AudioUtil();
|
|
93
93
|
self._tools = new Tools();
|
|
94
94
|
self._pool = EffectSingleCase.instance;
|
|
95
|
-
self.
|
|
95
|
+
self._asset = ResourceManager.instance;
|
|
96
96
|
|
|
97
97
|
if (EDITOR) { return }//编辑器环境,不执行下面逻辑
|
|
98
98
|
//Logger.setLevel(ELoggerLevel.Error);
|