JoJoJet / bevy-trait-query

adds trait queries to the bevy game engine
Apache License 2.0
65 stars 11 forks source link

Support querying for `&dyn Trait` and `&mut dyn Trait` #2

Closed JoJoJet closed 1 year ago

JoJoJet commented 1 year ago

The default functionality for trait queries is to iterate over all matching components per entity. The One filter can be used when only one trait impl should exist per entity.