observable_message
The MessageObservable lets you observe global messages written by a
MessageWriter!
- Messages written in or before the observables schedule will be observed in the same frame. If the message was written in a later schedule, it will be observed in the next frame, which could lead to 1 frame flickers if something also reacts to the same message in the same frame it was written!
See Also
- EventObservable - Observe events sent to an entity.
- KeyboardObservable - Observe global key input.
- ProxyObservable - Subscribe to another observable entity.
- ResourceObservable - Observe derived values of a resource on change.
Example
cargo run -p rx_bevy --example observable_message_example