Skip to content

Commit 05e488c

Browse files
committed
chore: warning unique entity name in documentation
1 parent 430c539 commit 05e488c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ volt.RegisterComponent[transformComponent](world, &ComponentConfig[transformComp
8484
```go
8585
entityId := world.CreateEntity("entityName")
8686
```
87+
**Important**: the entity name MUST be unique.
88+
8789
- Add the component to the entity
8890
```go
8991
component := volt.ConfigureComponent[transformComponent](&scene.World, transformConfiguration{x: 1.0, y: 2.0, z: 3.0})

0 commit comments

Comments
 (0)