@shimotsuki/core 3.0.7 → 3.0.9
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 +7 -9
- package/dist/shimotsuki_core.js +1 -2398
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -482,6 +482,8 @@ declare class Gui extends BaseComponent {
|
|
|
482
482
|
private toast_ui_component;
|
|
483
483
|
/**当前场景对象名 */
|
|
484
484
|
currentScene: string;
|
|
485
|
+
/**当前场景uuid */
|
|
486
|
+
currentSceneUUID: string;
|
|
485
487
|
protected onEventListener(): void;
|
|
486
488
|
init(cat: Manager): this;
|
|
487
489
|
protected start(): void;
|
|
@@ -517,16 +519,12 @@ declare class Gui extends BaseComponent {
|
|
|
517
519
|
* @param isReload 可选参数,明确指示是否重新加载场景(当options为布尔值时,此参数被忽略)
|
|
518
520
|
* @returns 返回当前实例,支持链式调用
|
|
519
521
|
*/
|
|
520
|
-
loadScene<T>(
|
|
521
|
-
loadScene<T>(
|
|
522
|
-
loadScene<T>(
|
|
523
|
-
loadScene<T>(
|
|
524
|
-
loadScene<T>(scene: Scene | SceneAsset): this;
|
|
525
|
-
loadScene<T>(scene: Scene | SceneAsset, options: IUIOption<ScenePropsType<T>, SceneDataType<T>>): this;
|
|
526
|
-
loadScene<T>(scene: Scene | SceneAsset, isReload: boolean): this;
|
|
527
|
-
loadScene<T>(scene: Scene | SceneAsset, options: IUIOption<ScenePropsType<T>, SceneDataType<T>>, isReload: boolean): this;
|
|
522
|
+
loadScene<T>(scene: string | Scene | SceneAsset): this;
|
|
523
|
+
loadScene<T>(scene: string | Scene | SceneAsset, options: IUIOption<ScenePropsType<T>, SceneDataType<T>>): this;
|
|
524
|
+
loadScene<T>(scene: string | Scene | SceneAsset, isReload: boolean): this;
|
|
525
|
+
loadScene<T>(scene: string | Scene | SceneAsset, options: IUIOption<ScenePropsType<T>, SceneDataType<T>>, isReload: boolean): this;
|
|
528
526
|
/**重置场景(清除当前默认当前场景) */
|
|
529
|
-
resetScene(
|
|
527
|
+
resetScene(sceneNameOrUUID?: string): this;
|
|
530
528
|
/**清除场景 */
|
|
531
529
|
cleanScene(): void;
|
|
532
530
|
/**
|