@shimotsuki/core 1.0.10 → 1.0.11

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
@@ -970,12 +970,12 @@ type UIComponentType<T> = T extends UILayer<infer U> ? U : void;
970
970
  type SceneComponentType<T> = T extends SceneLayer<infer U> ? U : void;
971
971
  /**预制体路径 */
972
972
  declare enum BasePrefab {
973
- Root = "root",
974
- Toast = "toast",
975
- BlackMask = "black-mask",
976
- Loading = "loading",
977
- Notice = "notice",
978
- Reconnection = "reconnection"
973
+ Root = "prefabs/root",
974
+ Toast = "prefabs/toast",
975
+ BlackMask = "prefabs/black-mask",
976
+ Loading = "prefabs/loading",
977
+ Notice = "prefabs/notice",
978
+ Reconnection = "prefabs/reconnection"
979
979
  }
980
980
  declare class GuiManager extends BaseManager {
981
981
  #private;
@@ -988,7 +988,7 @@ declare class GuiManager extends BaseManager {
988
988
  */
989
989
  private getGuiPrefabByType;
990
990
  /**初始化 */
991
- init(bundleName?: string, path?: string): Promise<this>;
991
+ init(bundleName?: string): Promise<this>;
992
992
  }
993
993
 
994
994
  /**
@@ -1013,8 +1013,7 @@ declare class Manager {
1013
1013
  /**工具类 */
1014
1014
  util: CoreUtil;
1015
1015
  /**GUI资源配置 */
1016
- setConfig: ({ gui_path, gui_bundleName }?: {
1017
- gui_path?: string;
1016
+ setConfig: ({ gui_bundleName }?: {
1018
1017
  gui_bundleName?: string;
1019
1018
  }) => this;
1020
1019
  /**启动 */