@shimotsuki/core 1.0.9 → 1.0.10

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.d.ts CHANGED
@@ -988,7 +988,7 @@ declare class GuiManager extends BaseManager {
988
988
  */
989
989
  private getGuiPrefabByType;
990
990
  /**初始化 */
991
- init(path?: string, bundleName?: string): Promise<this>;
991
+ init(bundleName?: string, path?: string): Promise<this>;
992
992
  }
993
993
 
994
994
  /**
package/dist/index.js CHANGED
@@ -1719,7 +1719,7 @@ var BasePrefab;
1719
1719
  class GuiManager extends BaseManager {
1720
1720
  /**常驻顶层UI节点层级 */
1721
1721
  gui;
1722
- #path = 'core';
1722
+ #path = 'prefabs';
1723
1723
  #bundleName = 'resources';
1724
1724
  /**
1725
1725
  * 获取预制体
@@ -1739,7 +1739,7 @@ class GuiManager extends BaseManager {
1739
1739
  });
1740
1740
  };
1741
1741
  /**初始化 */
1742
- async init(path = 'core', bundleName = 'resources') {
1742
+ async init(bundleName = 'resources', path = 'prefabs') {
1743
1743
  this.#bundleName = bundleName;
1744
1744
  this.#path = path;
1745
1745
  // 初始化常驻节点
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shimotsuki/core",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",