Update libentities.md

This commit is contained in:
Onran 2024-12-15 01:35:49 +09:00 committed by GitHub
parent 26613b8741
commit 8caa536a6a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,7 +15,8 @@ entities.get(uid: int) -> table
-- prefix - component pack id
-- name - component name
-- component prefix and name are separated with two underscores
entities.spawn(name: str, pos: vec3, [optional] args: table)
-- Returns an entity object
entities.spawn(name: str, pos: vec3, [optional] args: table) -> table
-- Checks the existence of an entity by a unique identifier.
entities.exists(uid: int) -> bool