import { Stage } from "../views/Stage" const { regClass, property } = Laya @regClass() export class UIManager extends Laya.Script { @property(Stage) public stage: Stage private static _instance: UIManager onAwake(): void { UIManager._instance = this this.stage.owner.visible = false } public static getInstance(): UIManager { return UIManager._instance } public loadStage(): void { this.stage.owner.visible = true this.stage.onLoadStage("aBCeIGFhdEDFcAHBGIhigBdfecAgHDiFBCaeBEAGHCIdffcIdEAHbgcABfGEdiHIFHaCDGEBDGEHbiaFC"); } }