Function spawn_batch

Source
pub fn spawn_batch<I>(bundles_iter: I) -> impl Command
Expand description

A Command that consumes an iterator of Bundles to spawn a series of entities.

This is more efficient than spawning the entities individually.