bevy/crates/bevy_time
Lucidus115 f7d3fbc7d5 Add TimeUpdateStrategy resource for manual Time updating (#6159)
# Objective

- Addresses #6146 by allowing manual `Time` updating

## Solution
- Create `TimeUpdateStrategy` config resource
- Allow users to specify a manual `Instant/Duration` or leave as default (automatic)
- Get resource in `bevy_time::time_system`and update time with desired value
---

## Changelog

- Add `TimeUpdateStrategy` resource
- Update `bevy_time::time_system` to use optional manual values

Co-authored-by: BuildTools <unconfigured@null.spigotmc.org>
Co-authored-by: Lucidus115 <92978847+Lucidus115@users.noreply.github.com>
2022-10-24 14:33:47 +00:00
..
src Add TimeUpdateStrategy resource for manual Time updating (#6159) 2022-10-24 14:33:47 +00:00
Cargo.toml Add default implementation of Serialize and Deserialize to Timer and Stopwatch (#6248) 2022-10-17 14:38:57 +00:00