Skip to content

Commit

Permalink
feat: change id
Browse files Browse the repository at this point in the history
  • Loading branch information
rei1024 committed Oct 4, 2024
1 parent 054352a commit 540e63b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 540e63b

Please sign in to comment.