Creating Entity
To create an entity, you need to call theCreate
method on your search.
system/create_player.go
What’s
PlayerSearch
? Learn more in Searching for Entities with
Components.Destroying Entity
To destroy an entity, you need to call theDestroy
method on the entity.
system/destroy_player.go