Support reflected event types for Observer
triggers.
#17511
Labels
A-ECS
Entities, components, systems, and events
A-Reflection
Runtime information about types
C-Feature
A new feature, making something new possible
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?
We don't currently support this as a safe alternative to #17509. Users might find this useful.
What solution would you like?
In a similar manner to #17509, we provide a
ReflectedEvent
event type for use in aTrigger
:We would provide a type function to map
ReflectedEvent
into&dyn Reflect
forTrigger::event()
and&mut dyn Reflect
forTrigger::event_mut()
.The text was updated successfully, but these errors were encountered: