Add a Command to trigger observers with statically known components #14775
Labels
A-ECS
Entities, components, systems, and events
C-Usability
A targeted quality-of-life change that makes Bevy easier to use
D-Modest
A "normal" level of difficulty; suitable for simple features or challenging fixes
S-Ready-For-Implementation
This issue is ready for an implementation PR. Go for it!
What problem does this solve or what need does it fill?
Triggering
Observer
s with specific components currently requires you to know the component'sComponentId
, even if the component type is statically known. This generally results in needing to store all necessaryComponentId
s in aResource
and grabbing them as needed from it.What solution would you like?
What alternative(s) have you considered?
My current situation:
Additional context
Originally brought up on discord.
The text was updated successfully, but these errors were encountered: