Track callsites of where observers are initially triggered. #14708
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?
Similar idea to #14034. Via a feature flag, we should be able to track where observers are getting triggered from.
What solution would you like?
Storing the callsite location as part of the
Trigger
, so that it's accessible inside the triggered observer.The text was updated successfully, but these errors were encountered: