mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 15:14:50 +00:00
cfcb6885e3
# Objective `SceneSpawner::spawn_dynamic_sync` currently returns `()` on success, which is inconsistent with the other `SceneSpawner::spawn_` methods that all return an `InstanceId`. We need this ID to do useful work with the newly-created data. ## Solution Updated `SceneSpawner::spawn_dynamic_sync` to return `Result<InstanceId, SceneSpawnError>` instead of `Result<(), SceneSpawnError>` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |