Open
Description
Allows exclusive access based on Changed
or Added
component, similar to With
and Without
.
See #7264 (comment)
This is very niche, but might help squeeze out some perfs.
What solution would you like?
Add a NotChanged<T>
and NotAdded<T>
component that returns all entities that their Changed
and Added
counterparts do not return.
Am I missing something? It seems possible to discriminate based on those filters. Though it would likely require modifying the AccessSet
content.
What alternative(s) have you considered?
I added a changed: Query<(), Changed<Transform>>
parameter, and call !changed.contains(&entity)
.