Attribute Macro bevy_ergo_plugin::on_event
source · #[on_event]
Expand description
system parameter marker attribute that generates
.add_system( system_name.run_if(on_event::<arg>()) )
#[on_event]
system parameter marker attribute that generates
.add_system( system_name.run_if(on_event::<arg>()) )