Return self from despawn_descendants
#8883
Labels
A-Hierarchy
Parent-child entity hierarchies
C-Usability
A targeted quality-of-life change that makes Bevy easier to use
D-Trivial
Nice and easy! A great choice to get started with Bevy
What problem does this solve or what need does it fill?
Sometimes you want to despawn all descendants and insert new children. In order to do it you need to do something like this:
What solution would you like?
It would be great to return
self
fromdespawn_descendants
in order to do something like this:The text was updated successfully, but these errors were encountered: