From 540e63b1b96d2ca24236bfc9054b2865e30e7058 Mon Sep 17 00:00:00 2001 From: rei1024 Date: Fri, 4 Oct 2024 16:09:33 +0900 Subject: [PATCH] feat: change id --- src/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.ts b/src/app.ts index 8cb509c..a67504c 100644 --- a/src/app.ts +++ b/src/app.ts @@ -77,7 +77,7 @@ export class App { // セルのインスタンスを作成 const instance = this.meshPool.pop() ?? - this.templateMesh.createInstance(`cell_${x}_${y}`); + this.templateMesh.createInstance(`cell_${crypto.randomUUID()}`); instance.isVisible = true; instance.position = new BABYLON.Vector3( x,