Trait bevy_internal::ecs::prelude::Event
source · pub trait Event: Send + Sync + 'static { }
Expand description
A type that can be stored in an Events<E>
resource
You can conveniently access events using the EventReader
and EventWriter
system parameter.
Events must be thread-safe.