bevy_eventlistener
bevy_eventlistener copied to clipboard
Run once
Consider run_once, where once the callback is executed, remove the On::<T> component (or whatever preferred alternatively to achieve a single call to callback)
This should be possible now, by adding that logic to the callback. This may behave strangely if it is ever possible to add multiple listeners of the same type to an entity.