Document how to configure FixedUpdate (#10564)
Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com> Co-authored-by: Pascal Hertleif <killercup@gmail.com>
This commit is contained in:
parent
a2d90a8533
commit
1c5c972e14
@ -71,6 +71,9 @@ pub struct RunFixedUpdateLoop;
|
|||||||
///
|
///
|
||||||
/// The exclusive `run_fixed_update_schedule` system runs this schedule.
|
/// The exclusive `run_fixed_update_schedule` system runs this schedule.
|
||||||
/// This is run by the [`RunFixedUpdateLoop`] schedule.
|
/// This is run by the [`RunFixedUpdateLoop`] schedule.
|
||||||
|
///
|
||||||
|
/// Frequency of execution is configured by inserting `Time<Fixed>` resource, 64 Hz by default.
|
||||||
|
/// See [this example](https://github.com/bevyengine/bevy/blob/latest/examples/time/time.rs).
|
||||||
#[derive(ScheduleLabel, Clone, Debug, PartialEq, Eq, Hash)]
|
#[derive(ScheduleLabel, Clone, Debug, PartialEq, Eq, Hash)]
|
||||||
pub struct FixedUpdate;
|
pub struct FixedUpdate;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user