From 4a7b738473b2bf51d29995a38354f4dc84b0976e Mon Sep 17 00:00:00 2001 From: shubidumdu Date: Thu, 26 Oct 2023 00:46:03 +0900 Subject: [PATCH] Add loadingUI in spinner page --- pages/spinner/main.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/spinner/main.ts b/pages/spinner/main.ts index 60b9765..4cb0f3d 100644 --- a/pages/spinner/main.ts +++ b/pages/spinner/main.ts @@ -12,6 +12,7 @@ const main = async () => { const canvas = document.getElementById('canvas') as HTMLCanvasElement; const engine = new Engine(canvas, true); const scene = new Scene(engine); + engine.displayLoadingUI(); scene.clearColor = Color4.FromHexString('#212E33'); const { spinner } = await loadModel(scene); setupCamera(scene);