mirror of
https://github.com/bevyengine/bevy
synced 2024-11-26 06:30:19 +00:00
Fix documentation on spawining an entity (#6775)
# Objective - The documentation describing different ways to spawn an Entity is missing reference to "method" for "Spawn an entity with components". ## Solution - Update the documentation to add the reference to `World::spawn`.
This commit is contained in:
parent
1615834536
commit
bbb652a438
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
|||
//!
|
||||
//! |Operation|Command|Method|
|
||||
//! |:---:|:---:|:---:|
|
||||
//! |Spawn an entity with components|[`Commands::spawn`]|---|
|
||||
//! |Spawn an entity with components|[`Commands::spawn`]|[`World::spawn`]|
|
||||
//! |Spawn an entity without components|[`Commands::spawn_empty`]|[`World::spawn_empty`]|
|
||||
//! |Despawn an entity|[`EntityCommands::despawn`]|[`World::despawn`]|
|
||||
//! |Insert a component, bundle, or tuple of components and bundles to an entity|[`EntityCommands::insert`]|[`EntityMut::insert`]|
|
||||
|
|
Loading…
Reference in a new issue