mirror of
https://github.com/bevyengine/bevy
synced 2024-11-26 14:40:19 +00:00
5cb4808026
# Objective Prerequisite to #13579. Make state transition schedule running simpler. ## Solution - Remove `should_run_transition` which read the latest event and fake-fire an event for the startup transitions (e.g. startup `OnEnter()`). - Account for startup event, by actually emitting an event when adding states to `App`. - Replace `should_run_transition` with `last_transition`, which is a light wrapper over `EventReader::read().last()`. --------- Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |