bevy/crates/bevy_time
Ixentus 5c6b7d5883
Add paused run condition (#11313)
# Objective

- It is common to run a system only when the clock is paused or not
paused, but this run condition doesn't exist.

## Solution

- Add the "paused" run condition.

---

## Changelog

- Systems can now be scheduled to run only if the clock is paused or not
using `.run_if(paused())` or `.run_if(not(paused()))`.

---------

Co-authored-by: radiish <cb.setho@gmail.com>
2024-01-12 22:18:57 +00:00
..
src Add paused run condition (#11313) 2024-01-12 22:18:57 +00:00
Cargo.toml Standardize toml format with taplo (#10594) 2023-11-21 01:04:14 +00:00
README.md Add missing documentation to bevy_time (#9428) 2023-08-15 21:48:37 +00:00

Bevy Time

The built-in timekeeping plugin for the Bevy game engine.