pub unsafe extern "C" fn ecs_enable(
world: *mut ecs_world_t,
entity: ecs_entity_t,
enabled: bool,
)Expand description
Enable or disable entity. This operation enables or disables an entity by adding or removing the EcsDisabled tag. A disabled entity will not be matched with any systems, unless the system explicitly specifies the EcsDisabled tag.
@param world The world. @param entity The entity to enable or disable. @param enabled true to enable the entity, false to disable.