@shimotsuki/core 2.0.44 → 2.0.46

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.
@@ -1861,7 +1861,7 @@ var BasePrefab;
1861
1861
  class GuiManager extends BaseManager {
1862
1862
  /**常驻顶层UI节点层级 */
1863
1863
  gui;
1864
- #bundleName = 'resources';
1864
+ #bundleName = 'core';
1865
1865
  /**
1866
1866
  * 获取预制体
1867
1867
  * @param type 类型
@@ -1882,7 +1882,7 @@ class GuiManager extends BaseManager {
1882
1882
  };
1883
1883
  /**初始化 */
1884
1884
  async init() {
1885
- this.#bundleName = this.cat.gui_bundle_name;
1885
+ this.cat.gui_bundle_name && (this.#bundleName = this.cat.gui_bundle_name);
1886
1886
  // 初始化常驻节点
1887
1887
  const root_prefab = await this.getGuiPrefabByType(this.#bundleName, BasePrefab.Root);
1888
1888
  const root = instantiate(root_prefab);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shimotsuki/core",
3
- "version": "2.0.44",
3
+ "version": "2.0.46",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "main": "dist/shimotsuki_core.js",