Builtin Library
README.md
ecs.PlayerOwned
Spec for the PlayerOwned component, which maps to the native PlayerOwned. Marks an entity as owned by a player.
Fields
ownerIdentity— the owning player's identity (empty for a local marker).
Usage
ecs.insertSync(id, ecs.PlayerOwned{ ownerIdentity = identity })