Skip to content

Automatically create labels for events? #4872

@SUPERCILEX

Description

@SUPERCILEX

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ECSEntities, components, systems, and eventsC-UsabilityA targeted quality-of-life change that makes Bevy easier to use

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions