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
@ -62,6 +62,10 @@ pub trait Command: Send + 'static {
|
|||||||
/// * inserting resources
|
/// * inserting resources
|
||||||
/// * etc.
|
/// * 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
|
/// # 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.
|
/// 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 New Issue
Block a user