From ab7b1098274f1635ef30d98265d35c604351c1f1 Mon Sep 17 00:00:00 2001 From: AZhan Date: Mon, 15 Apr 2024 17:52:21 +0800 Subject: [PATCH] fix: doc describe error (#1006) --- playground/multi-scene.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playground/multi-scene.ts b/playground/multi-scene.ts index 109f780f1..04da564df 100644 --- a/playground/multi-scene.ts +++ b/playground/multi-scene.ts @@ -75,7 +75,7 @@ function initFirstScene(engine: Engine): Scene { lightEntity.addComponent(DirectLight); // Create sphere - const entity = rootEntity.createChild("cube"); + const entity = rootEntity.createChild("sphere"); entity.transform.setPosition(-3, 0, 3); const renderer = entity.addComponent(MeshRenderer); renderer.mesh = PrimitiveMesh.createSphere(engine, 2, 24);