pub unsafe extern "C" fn ecs_script_init(
world: *mut ecs_world_t,
desc: *const ecs_script_desc_t,
) -> ecs_entity_tExpand description
Load managed script. A managed script tracks which entities it creates, and keeps those entities synchronized when the contents of the script are updated. When the script is updated, entities that are no longer in the new version will be deleted.
This feature is experimental.
@param world The world. @param desc Script descriptor.