-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Labels
A-ECSEntities, components, systems, and eventsEntities, components, systems, and eventsC-FeatureA new feature, making something new possibleA new feature, making something new possibleC-UsabilityA targeted quality-of-life change that makes Bevy easier to useA targeted quality-of-life change that makes Bevy easier to use
Description
Currently if I want to a) execute a system only if a certain resource has been modified and b) to modify that resource in that system, I can do something like this:
pub fn my_system(
_: ChangedRes<MyRes>,
mut my_resource: ResMut<MyRes>,
) {
//...
}
It would be nice to be able to use just one parameter instead, like this:
pub fn my_system(
mut my_resource: ChangedResMut<MyRes>,
) {
//...
}
frewsxcv
Metadata
Metadata
Assignees
Labels
A-ECSEntities, components, systems, and eventsEntities, components, systems, and eventsC-FeatureA new feature, making something new possibleA new feature, making something new possibleC-UsabilityA targeted quality-of-life change that makes Bevy easier to useA targeted quality-of-life change that makes Bevy easier to use