mirror of
https://github.com/bevyengine/bevy
synced 2024-12-21 02:23:08 +00:00
a0a14aa615
# Objective Support returning data out of with_children to enable the use case of changing the parent commands with data created inside the child builder. ## Solution Change the with_children closure to return T. Closes https://github.com/bevyengine/bevy/pull/2817. --- ## Changelog `BuildChildren::add_children` was added with the ability to return data to use outside the closure (for spawning a new child builder on a returned entity for example). |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |