pub fn apply_patch(world: &mut World, entity: Entity, patch: ComponentPatch)Expand description
Writes a ComponentPatch onto the entity, adding the component first for
the variants whose presence is the value (visibility, casts-shadow,
ignore-parent-scale, script).