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
					
				| @ -13,7 +13,7 @@ | |||||||
| //!
 | //!
 | ||||||
| //! |Operation|Command|Method|
 | //! |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`]|
 | //! |Spawn an entity without components|[`Commands::spawn_empty`]|[`World::spawn_empty`]|
 | ||||||
| //! |Despawn an entity|[`EntityCommands::despawn`]|[`World::despawn`]|
 | //! |Despawn an entity|[`EntityCommands::despawn`]|[`World::despawn`]|
 | ||||||
| //! |Insert a component, bundle, or tuple of components and bundles to an entity|[`EntityCommands::insert`]|[`EntityMut::insert`]|
 | //! |Insert a component, bundle, or tuple of components and bundles to an entity|[`EntityCommands::insert`]|[`EntityMut::insert`]|
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 mareq
						mareq