Skip to main content

spawn_entity

Function spawn_entity 

Source
pub(crate) fn spawn_entity(
    world: &Arc<World>,
    request: EntitySpawnRequest<'_>,
) -> Result<SharedEntity, EntitySpawnError>
Expand description

Mirrors vanilla EntityType.spawn for server-side entity creation.