u/FlyHappy8990

▲ 13 r/bevy

Why can't I do On<MyEvent, ComponentA>?

The Add event lets you filter by component using the second parameter in On, but when I try to have my observer with my custom EntityEvent only trigger for entities with a certain component, it doesn't run at all.

Is there something I'm doing wrong? Can I implement Trigger myself to make this work?

reddit.com
u/FlyHappy8990 — 5 days ago