Added docs for `.apply()in basic usage of systemState` (#7138)
				
					
				
			# Objective Fixes #5940 ## Solution Added the suggested comment. Co-authored-by: zeroacez <43633834+zeroacez@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									e4d54739e7
								
							
						
					
					
						commit
						aaaf357dbb
					
				| @ -106,6 +106,9 @@ impl SystemMeta { | ||||
| /// // Use system_state.get_mut(&mut world) and unpack your system parameters into variables!
 | ||||
| /// // system_state.get(&world) provides read-only versions of your system parameters instead.
 | ||||
| /// let (event_writer, maybe_resource, query) = system_state.get_mut(&mut world);
 | ||||
| ///
 | ||||
| /// // If you are using [`Commands`], you can choose when you want to apply them to the world.
 | ||||
| /// // You need to manually call `.apply(world)` on the [`SystemState`] to apply them.
 | ||||
| /// ```
 | ||||
| /// Caching:
 | ||||
| /// ```rust
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 zeroacez
						zeroacez