pub fn remove_with_requires<T>() -> impl EntityCommandwhere
T: Bundle,
Expand description
An EntityCommand
that removes the components in a Bundle
from an entity,
as well as the required components for each component removed.
pub fn remove_with_requires<T>() -> impl EntityCommandwhere
T: Bundle,
An EntityCommand
that removes the components in a Bundle
from an entity,
as well as the required components for each component removed.