Crate bevy_button_released_plugin

Source

Structsยง

ButtonsReleasedPlugin
Plugin that adds OnButtonReleased event for entities with GameButton and Interaction components when Interaction changes from Interaction::Pressed to Interaction::Hovered.
GameButton
Component storing previous interaction state. When it is part of entity that also contains Interaction component it will allow triggering OnButtonReleased when Interaction changes from Interaction::Pressed to Interaction::Hovered.
OnButtonReleased
Event triggered when Interaction changes from Interaction::Pressed to Interaction::Hovered for entity that has GameButton component. It is using the observer pattern for events.