Function ambient_api::entity::remove_component
source · pub fn remove_component<T>(entity: EntityId, component: Component<T>)
Expand description
Removes the component
from entity
.
Does nothing if the component does not exist.