bevy_eventlistener
bevy_eventlistener copied to clipboard
Event listening, bubbling, and callbacks
We currently can traverse *up* the hierarchy via bubbles, which is great! I think we can extend this by also allowing for *sinking* - letting an Event propagate *down* the...
Some events intrinsically needs to targets multiple entities. For example collision events will need to be able to report to multiple entities. You can currently simulate this by cloning the...
```rust pub fn send_event() -> Self { ``` This is the current signature of [`On::send_event`](https://docs.rs/bevy_mod_picking/latest/bevy_mod_picking/prelude/struct.On.html#method.send_event). However, I want to be able to quickly do things like "send an `AppExit` event...
This is a common simple pattern that uses a surprising amount of boilerplate. We could simplify this to a single method call.
This is a work in progress, just wanted to get some of the code out there as we are working on it. Closes #21
This would be useful to construct bundle types with `On` components that have no effect. I'm running into this while trying to construct `ButtonBundle` equivalents with `On` and `On` fields.
This feature is necessary because there's currently no way to have more than one of a callback of a single type on an entity. This is usually just a papercut,...
This crate is awesome! It's solving exactly the problem that was driving me nuts when trying to represent intents & actions in a turn-based roguelike prototype I'm using to play...
Its useful when you are building out a UI and need to pass a bundle down the tree to spawned later on. Edge cases: 1. If a user clones a...
system.run already calls `apply_deferred`