Skip to main content

remove_component

Function remove_component 

Source
pub fn remove_component(world: &mut World, entity: Entity, kind: ComponentKind)
Expand description

Drops the component off the entity. A no-op if it is not present.