Function ambient_api::prelude::entity::add_components
source · pub fn add_components(entity: EntityId, components: impl Into<Entity>)
Expand description
Adds the components components
for entity
with value
. Will replace any existing components specified in components
.