Skip to main content

spawn_named

Function spawn_named 

Source
pub fn spawn_named(world: &mut World, name: &str) -> Entity
Expand description

Spawns an entity with Name and identity Transform. Built-in component storages must already be registered by the host.