@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 +1 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
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 = '
|
|
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(
|
|
1742
|
+
async init(bundleName = 'resources', path = 'prefabs') {
|
|
1743
1743
|
this.#bundleName = bundleName;
|
|
1744
1744
|
this.#path = path;
|
|
1745
1745
|
// 初始化常驻节点
|