bevy/crates/bevy_scene/src
TheRawMeatball ce752d2522 Increment last event count on next instead of iter (#2382)
# Objective

Currently, simply calling `iter` on an event reader will mark all of it's events as read, even if the returned iterator is never used

## Solution

With this, the cursor will simply move to the last unread, but available event when iter is called, and incremented by one per `next` call.


Co-authored-by: Carter Anderson <mcanders1@gmail.com>
2022-02-02 02:29:33 +00:00
..
command.rs System Param Lifetime Split (#2605) 2021-08-15 20:51:53 +00:00
dynamic_scene.rs Renamed Entity::new to Entity::from_raw (#3465) 2021-12-29 20:49:00 +00:00
lib.rs Merge AppBuilder into App (#2531) 2021-07-27 20:21:06 +00:00
scene_loader.rs Fix some nightly clippy lints (#2522) 2021-07-29 20:52:15 +00:00
scene_spawner.rs Increment last event count on next instead of iter (#2382) 2022-02-02 02:29:33 +00:00
scene.rs Bevy ECS V2 (#1525) 2021-03-05 07:54:35 +00:00
serde.rs bevy::scene::Entity renamed to bevy::scene::DynamicEntity. (#3448) 2021-12-27 21:24:18 +00:00