mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 20:53:53 +00:00
Added reference to ParallelCommands in the Commands doc (#8510)
# Objective Fixes #8414 --------- Co-authored-by: Sheepyhead <trojes@tuta.io> Co-authored-by: Nicola Papale <nicopap@users.noreply.github.com>
This commit is contained in:
parent
ee697f820c
commit
55d6c7d56e
1 changed files with 4 additions and 0 deletions
|
@ -62,6 +62,10 @@ pub trait Command: Send + 'static {
|
|||
/// * inserting resources
|
||||
/// * etc.
|
||||
///
|
||||
/// For a version of [`Commands`] that works in parallel contexts (such as
|
||||
/// within [`Query::par_iter`](crate::system::Query::par_iter)) see
|
||||
/// [`ParallelCommands`]
|
||||
///
|
||||
/// # Usage
|
||||
///
|
||||
/// Add `mut commands: Commands` as a function argument to your system to get a copy of this struct that will be applied the next time a copy of [`apply_system_buffers`] runs.
|
||||
|
|
Loading…
Reference in a new issue