mirror of
https://github.com/bevyengine/bevy
synced 2024-11-26 14:40:19 +00:00
ea2a7e5552
# Objective - Emit an event regardless of scene type (`Scene` and `DynamicScene`). - Also send the `InstanceId` along. Follow-up to #11002. Fixes #2218. ## Solution - Send `SceneInstanceReady` regardless of scene type. - Make `SceneInstanceReady::parent` `Option`al. - Add `SceneInstanceReady::id`. --- ## Changelog ### Changed - `SceneInstanceReady` is now sent for `Scene` as well. `SceneInstanceReady::parent` is an `Option` and `SceneInstanceReady::id`, an `InstanceId`, is added to identify the corresponding `Scene`. ## Migration Guide - `SceneInstanceReady { parent: Entity }` is now `SceneInstanceReady { id: InstanceId, parent: Option<Entity> }`. |
||
---|---|---|
.. | ||
bundle.rs | ||
dynamic_scene.rs | ||
dynamic_scene_builder.rs | ||
lib.rs | ||
scene.rs | ||
scene_filter.rs | ||
scene_loader.rs | ||
scene_spawner.rs | ||
serde.rs |