-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Automatically create labels for events? #4872
Copy link
Copy link
Closed
Labels
A-ECSEntities, components, systems, and eventsEntities, components, systems, and eventsC-UsabilityA targeted quality-of-life change that makes Bevy easier to useA targeted quality-of-life change that makes Bevy easier to use
Description
What problem does this solve or what need does it fill?
I've found that I keep creating labels for systems that write events so that I can create a fence between the readers and writers. I've also done this with ResMut systems.
What solution would you like?
I don't know if this is a good idea, but it might be helpful to auto generate labels for events and resources (maybe even mutable queries if it's cheap) that get applied to systems that write to those things. Then you can add systems that go before or after anything that writes to an event, resource, or component.
What alternative(s) have you considered?
Manually label stuff which is error prone. Then again it's not that hard and I don't know if the automation is worth it.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-ECSEntities, components, systems, and eventsEntities, components, systems, and eventsC-UsabilityA targeted quality-of-life change that makes Bevy easier to useA targeted quality-of-life change that makes Bevy easier to use