21 if (name !=
nullptr) {
23 entity_desc.
name = name;
24 entity_desc.
sep =
"::";
43 flecs::world_t *world_;
ecs_entity_t ecs_entity_init(ecs_world_t *world, const ecs_entity_desc_t *desc)
Find or create an entity.
Used with ecs_entity_init().
const char * sep
Optional custom separator for hierarchical names.
const char * root_sep
Optional, used for identifiers relative to root.
const char * name
Name of the entity.
Used with ecs_script_init()
Script builder interface.