|
|
|
|
|
by tomtheelder
829 days ago
|
|
Last time I was using Bevy I had a cleanup system to solve exactly that issue. It queried for entities with the AssociatedWithState component, or whatever I called it, and destroyed any where the was a mismatch. I could see an efficient version of that being a nice thing to have built in, though. It’s definitely a very common thing. |
|